Hi there,
First of all, I am really a newbie for flash charts. I have problem in using it. I am developing an app which gets values from database for chart. I have a line on chart, there are dates on x-axis starting from 0th position. I have dates 03-06-2010 and 05-06-2010 right now and may increase in future. When I set range of 1 month i.e 1st jun to 30th jun , it does not show lines but show values on y-axis. When I use range, i am not able to pass array of above two dates from database to chart, and viceversa.
Here is my code-snippet can you give some hint.
$x = new x_axis();
$x->set_range(
mktime(0, 0, 0, 6, 1, date('Y')), // <-- min == 1st Jan, this year
mktime(0, 0, 0, 6, 16, date('Y')) // <-- max == 31st Jan, this year
);
$x->set_steps(86400);
$labels = new x_axis_labels();
$labels->text('#date: jS, M Y#');
$labels->set_steps(86400);
$labels->visible_steps(1);
$labels->rotate(90);
//$labels->set_labels($data_4); // date_4 is array of database values
$x->set_labels($labels);