Using the date as the x-axis

Posted by andywaugh 
Using the date as the x-axis
February 23, 2009 04:42PM
Hi,

Is there any method of allowing the x axis to be a date or a line graph? Simply changing the number to a date in the array fails and it would be helpful to be able to display my information over time.

Really impressive and helpful library though

Andy
Re: Using the date as the x-axis
February 24, 2009 06:50AM
Check the line charts Templates with texts on the X axis. The chart needs real values that can be used to render the line, but you can make these values invisible and use setLabelX () for the dates.

Sabin

--------------------
JS Charts - Created by Smartketer LLC
Re: Using the date as the x-axis
March 05, 2009 04:31PM
sabinmunteanu Wrote:
-------------------------------------------------------
> Check the line charts Templates with texts on the
> X axis. The chart needs real values that can be
> used to render the line, but you can make these
> values invisible and use setLabelX () for the
> dates.

How do you make these values invisible?
Re: Using the date as the x-axis
March 05, 2009 06:34PM
You can use setShowXValues(false).

Have a look on [www.jscharts.com]



Edited 1 time(s). Last edit at 03/05/2009 06:35PM by andywaugh.
Re: Using the date as the x-axis
March 07, 2009 04:19PM
Are their any provisions to draw multiple lines on a single chart? For comparison for example.
Re: Using the date as the x-axis
March 11, 2009 09:23AM
What I've been trying to work out is how to send an epoch time, and then have it relabeled as a local time. The times are not at a regular interval, so unless it's an int, i'll loose the scale between points on the axis holding the time.
Sorry, you do not have permission to post/reply in this forum.