|
Polygon is hidden behind PlotArea background and addZones |
Posted by Olev on Mar-26-2010 06:10 |
|
Hi Peter:
I'm using DrawArea.rect to add some truncated zones on my chart, but I can't figure out how to bring them to the top of the z-order. The setZOrder method seems to only be applicable to TextBox objects, and transparency doesn't work well with overlapping backgrounds and zones...
So what am I overlooking?
Thanks,
Olev |
Re: Polygon is hidden behind PlotArea background and addZones |
Posted by Peter Kwan on Mar-26-2010 16:32 |
|
Hi Olev,
If your DrawArea is obtained using BaseChart.getDrawArea, it will draw on the back of the chart (before drawing any other chart content). If it is obtained using BaseChart.makeChart3, it will draw on the front of the chart (after drawing any other chart content).
For example:
'draw the chart, then get the DrawArea
Set d = c.makeChart3()
'as the chart is already drawn, this polygon will be in front of the chart contents
Call d.polygon(....)
Hope this can help.
Regards
Peter Kwan |
|