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

Message ListMessage List     Post MessagePost Message

  Any idea how to make this chart with CD
Posted by Erick on Sep-20-2012 01:38
Attachments:
Hi Peter,

Any idea how to make this chart using ChartDirector?

Thanks
chart.PNG

  Re: Any idea how to make this chart with CD
Posted by Peter Kwan on Sep-20-2012 22:53
Hi Erick,

You may consider to use a funnel chart. There is an example at the last chart in one of our gallery page:

http://www.advsofteng.com/gallery_pyramid.html

For your case, if you do not want the bottom of the funnel to have a tube, you can consider the tube length to 0 (using PyramidChart.setFunnelSize). The width of the "base" and the "mouth" can also be configured using the same method. If you do not like the 3D look, you can configure it to be 2D (using PyramidChart.setViewAngle to configure the elevation angle to 0).

If you would like to have a "curved" sides, the only method I can think of is to prepare an image which is white everywhere, except there is a transparent hole, where the shape of the hole is the shape of the chart like. If you put this image in front of the chart, you can see the funnel through the hole, and the funnel will then have the shape of the hole. (In computer graphics, this type of image is called a "clipping mask" - it can be used to "clip" something to the shape you like.)

To add the mark in front of the chart, you may use addText with the text being <*img=/path/to/maskimage.png*>.

Hope this can help.

Regards
Peter Kwan