You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using SVN-Flot version with Firefox 2 on Ubuntu.
I'm using bars in "time" mode. What I get is one pixel width for each bar.
No way even if playing with xaxis.tickSize, xaxis.minTickSize, xaxis.ticks etc.
I see the "time" mode is something new....
Am I doing anything wrong?
really stupid serie :
var data = [[(new Date(100000)).getTime(), 1], [(new
Date(1000000)).getTime(), 10], [(new Date(10000000)).getTime(), 5], [(new
Date(100000000)).getTime(), 13]];
Original issue reported on code.google.com by claudiom...@gmail.com on 6 Mar 2008 at 10:51
The text was updated successfully, but these errors were encountered:
Have you set the width of the bars? See the API documentation about customizing
bars.
E.g. this will set the bar width to one day:
bars { barWidth: 24 * 60 * 60 * 1000 }
I highly recommend using the mailing list for this sort of question.
Hope this helps?
Original comment by olau%iol...@gtempaccount.com on 6 Mar 2008 at 2:37
Thank you! Yes it helped me...First posting my previous post I tried using
barWidth
with no success, this beacuse I misunderstood (my bad english!) what written in
the
API that here I report now :
"""
Note that the options that take numbers works in units of pixels, but
"barWidth" is the width of the bars in units of the x axis to allow
for scaling.
"""
I understood barWidth=1 means one day having one bar for each day...but now you
opened my mind. Thank you!
And sorry for the mailinglist thing....I'm learning about the open source world
and
its ways to act....
Original comment by claudiom...@gmail.com on 7 Mar 2008 at 8:45
Original issue reported on code.google.com by
claudiom...@gmail.com
on 6 Mar 2008 at 10:51The text was updated successfully, but these errors were encountered: