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

Message ListMessage List     Post MessagePost Message

  Line “Style”; solid, dashed, dotted, etc.
Posted by Chuck on Feb-04-2020 09:57
Hello Peter,

Is there an enumeration for Line STYLE? Solid, dashed, dotted, etc.?

I’ve never been able to find a way to search the library...

Thank you,
Chuck

  Re: Line “Style”; solid, dashed, dotted, etc.
Posted by Peter Kwan on Feb-04-2020 15:49
Hi Chuck,

To create a dash line, you need to use the dashLineColor method. This is demonstrated in several examples that comes with ChartDirector. For example:

https://www.advsofteng.com/doc/cdnet.htm#multiline.htm

The documentation on the dashLineColor describes how the dash line color and pattern is defined. You can define thousands of dash patterns. There are also 4 pre-defined constants representing 4 commonly used dash patterns. See:

https://www.advsofteng.com/doc/cdnet.htm#BaseChart.dashLineColor.htm

Hope this can help.

Regards
Peter Kwan

  Re: Line “Style”; solid, dashed, dotted, etc.
Posted by Chuck on Feb-05-2020 05:53
Awesome, TY Peter.