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

Message ListMessage List     Post MessagePost Message

  Drawing arrows
Posted by Patrick henderson on Mar-19-2015 00:12
Attachments:
How would I draw an arrow from the gray marker toward the block of text that is to the
lower left of the graph? I realize the arrow would have to stay within the bounds of the
graph's drawing area. I just would like an arrow indicating which block of text pertains to
the plotted point. Thank you in advance.
PSR Markers.pdf
PSR Markers.pdf

140.58 Kb

  Re: Drawing arrows
Posted by Peter Kwan on Mar-19-2015 05:43
Hi Patrick,

You may consider to use a vector layer to draw the arrows. See:

http://www.advsofteng.com/doc/cdnet.htm#vector.htm

In ChartDirector, vector layers can be used to draw arrows. The XYChart.addVectorLayer
API allows you to specify the arrow by specifying the starting point, length and direction, or
by specifying the two end points of the arrow. The VectorLayer.setArrowHead and
VectorLayer.setArrowStem allows you to customize the shape of the arrow. See:

http://www.advsofteng.com/doc/cdnet.htm#VectorLayer.htm

Hope this can help.

Regards
Peter Kwan