I found that right after I posted.

My first project was plotting daily hits. I just made the x axis the
day of the month and made sure my values arrays have an entry for
every day and formatted the date using tickFormatter. Worked great,
but what you suggest would be even easier.

Ken

On Dec 5, 2:57 am, Ole Laursen <[EMAIL PROTECTED]> wrote:
> On Dec 4, 8:35 pm, Ken Gregg <[EMAIL PROTECTED]> wrote:
>
> > Great work. Anxious to play with it.
>
> Thanks! :-)
>
> > One suggestion for handling time series is providing x and y axis
> > label callbacks. When passed a value (number of minutes, hours, days,
> > etc) the call back could translate the value to label text and the
> > values would still scale.
>
> This is already supported. :-) I want to do more than that.
>
> The thing is that a good tick generator for the Gregorian calendar
> would go about generating ticks differently than a good tick generator
> for ordinary scalar values. For instance, if the plot displays half a
> year of time, there should be ticks for when the months start instead
> of some arbitrary days.
>
> I have some Python code for generating better ticks from when we were
> using Plotr, I just need to convert it to Javascript and expand it a
> bit. And maybe have a look at what gnuplot is doing.
>
> --
> Ole Laursenhttp://people.iola.dk/olau/

Reply via email to