|
Vertical Mark Line for Time Now |
Posted by James Dodson on Jan-18-2011 02:55 |
|
Can you explain how I to use the mark object to accurately draw a vertical line on a Gantt Chart to identify Time Now. I have studied the documentation and have not been able to determine how to vary the location of the line that the mark object draws on the chart. This chart allows the user to enter the from and to dates, the result needs to accurately draw a vertical line on the chart identifying Time Now.
Thank you
James |
Re: Vertical Mark Line for Time Now |
Posted by Peter Kwan on Jan-18-2011 17:22 |
|
Hi James,
You may use Axis.addMark to draw a mark line on the chart. For example (in PHP):
$c->yAxis->addMark(chartTime($y, $m, $d, $h, $n, $s), 0xff0000);
Hope this can help.
Regards
Peter Kwan |
|