ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Step Line Chart : Pb X axis
Posted by Nicolas S on Feb-15-2010 22:48
Hello,

I would like to make a Step Line Chart with data :

# The data
$dataY0 = array(185,160,134,121,109,67,45,20,200,165,152,120);
$dataY1 = array(200,200,200,200,200,195,195,165,145,145,145,145);

# The labels
$dataX0 =array(chartTime(2010, 2, 1), chartTime(2010, 2, 3), chartTime(2010, 2, 6),
    chartTime(2010, 2, 10), chartTime(2010, 2, 15), chartTime(2010, 2, 21), chartTime(
    2010, 2, 23), chartTime(2010, 3, 1), chartTime(2010, 3, 4), chartTime(2010, 3, 6), chartTime(2010, 3, 9), chartTime(2010, 3, 21));

The chart is displayed but the date of x axis is formated (month, day, year). Is it possible to display day, month, year or only day.

If I convert (chartTime(2010, 2, 10)), the year returned in php is 1937.

thank you for your response.

Nicolas