SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 27 of 27
  1. #26
    SitePoint Guru
    Join Date
    May 2012
    Posts
    996
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @pullo, Is it possible that i can defined my own duration in chartjs. example by 5 or by 100 is this possible to in chartjs?,one more thing my graph will not move if the following months are empty. example by january i have data for regularData [200], then the rest of the months have no data,now my graph will not move because of this...but if i will put in the casaulData [0] the graph will move to 200...

    Thank you in advance

  2. #27
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,313
    Mentioned
    178 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by jemz View Post
    Is it possible that i can defined my own duration in chartjs. example by 5 or by 100 is this possible to in chartjs?
    Sorry jemz, I don't follow you?

    Quote Originally Posted by jemz View Post
    one more thing my graph will not move if the following months are empty. example by january i have data for regularData [200], then the rest of the months have no data,now my graph will not move because of this...but if i will put in the casaulData [0] the graph will move to 200...
    I would sort this out on the server, so that you are returning an array of sensible values for chart.js to work with.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •