|
Building a semicircle plot from a polarchart? |
Posted by Daniel on May-26-2014 15:03 |
|
The question is about polar charts. How could I build a semicircle plot from a standard Chartdirector polar chart?
Polar charts are quite generic and can certainly bent to produce what we are looking for. Great! However there is a set of circular lines that still get in the way.
I have joined a visual that is, I expect, self-explanatory. How could I drop the top part of the plot. I understand that there may be various trick to "clear" the lines. More specifically, which the cleanest way to achieve the result?
Daniel
|
Re: Building a semicircle plot from a polarchart? |
Posted by Peter Kwan on May-27-2014 04:51 |
|
Hi Daniel,
You may consider to use a white rectangle to mask out the upper semi-circle. In C#/Java, it
is something like:
TextBox t = c.addText(0, 0, "");
t.setSize(c.getWidth() - 1, centerY - 2);
t.setBackground(0xffffff, 0xffffff);
t.setZOrder(Chart.GridLinesZ);
Hope this can help.
Regards
Peter Kwan |
Re: Building a semicircle plot from a polarchart? |
Posted by Daniel on May-27-2014 16:34 |
|
Hi Peter,
Thanks for your answer and the tip.
Moving the plotarea to the north AND adding a text block does the job.
Just for the sake of it I produced the output as SVG (joined). The output "outside the box" is clearly hidden despite been present in the vectorial description.
Daniel
|
|