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

Message ListMessage List     Post MessagePost Message

  vertical dotted line
Posted by Leo on Aug-22-2012 07:28
Hi, Peter,

How to modify the following so that the vertical line is a dotted line instead of a solid line.

$c->yAxis()->addMark(0, 0xff0000, "0")->setLineWidth(3);

Thanks.

  Re: vertical dotted line
Posted by Leo on Aug-22-2012 21:26
the line I was using:

$c->xAxis()->addMark(250, 0x6699dd, "0")->setLineWidth(3);

Thanks.

  Re: vertical dotted line
Posted by Peter Kwan on Aug-22-2012 23:29
Hi Leo,

Instead of using a solid color 0x6699dd, you may use a "dashLineColor". For example, in Perl, it is like:

$c->xAxis()->addMark(250, $c->dashLineColor(0x6699dd, $perlchartdir::DotLine))->setLineWidth(3);

Hope this can help.

Regards
Peter Kwan