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

Message ListMessage List     Post MessagePost Message

  How to fill in the area encircled by this Spline on an XYChart
Posted by Patrick on Jan-08-2018 09:40
Attachments:
I have an XYchart that is used to plot the bulls-eye looking symbol on this 4-quadrant grid. I would like to use a spline to surround the bulls-eye and fill in the middle of that area with a semi transparent gray. I use 5 data points to create the spline with the first and last data points are the same to enclose the shape.
4style.png

  Re: How to fill in the area encircled by this Spline on an XYChart
Posted by Patrick on Jan-10-2018 04:19
I realize this isn't what a spline is supposed to be used for, but I was hoping there would be a way to fill the area, or use a different method to achieve the same results.

Thanks!

  Re: How to fill in the area encircled by this Spline on an XYChart
Posted by Peter Kwan on Jan-10-2018 15:04
Hi Patrick,

Sorry for the late reply.

One method you can try is to a scatter layer with a large symbol under your original symbol. You can use the ChartDirector pre-defined symbols, or specify a custom symbol using an image file or a polygon. See:

http://www.advsofteng.com/doc/cdcom.htm#builtinsymbols.htm

http://www.advsofteng.com/doc/cdcom.htm#bubblescale.htm

http://www.advsofteng.com/doc/cdcom.htm#scattersymbols.htm

http://www.advsofteng.com/doc/cdnet.htm#DataSet.setDataSymbol4.htm

Like most other graphics program, the "curve" (or spline) in ChartDirector is actually a polyline (many straight line segments). If the line segments are short, it will look like a curve. So a curved shape in computer graphics can be implemented as a polygon.

If your shape is fixed, you can create a large image (using Windows paint or photoshop, etc), and just use that image as the symbol.

Regards
Peter Kwan