is there any way have an XYChart with setClipping(0) which ignores that only for icons?
We don't want any lines or areas to be drawn outside the plotarea (especially into the legend or the chart title), but series/dataset icons which e.g. sit at the outer edge of the y-axis do get clipped and may be easy to miss for users.
One way would be to calculate the margin needed for such "close to the edge living" icons, but is there any other way?
2nd Q: When using CDML blocks for axis labels, is there any setting to change the width of the rectangle for the edgeColor setting?
And the cherry on top would be rounded corners ... possible?
Unluckiy, the setClipping applies to the layers as a whole, but not to individual objects. You may need to extend the clipping rectangle by a little bit by using a non-zero clipping margin.
For the CDML blocks, in ChartDirector 7.0 we will add:
- rounded corners
- top/left/bottom/right margins
- configurable edge width
For your case, CDML rounded corners are only supported in ChartDirector 7.0.
I am not too sure what do you mean by "to change the width of the rectangle for the edgeColor setting". The edge currently is drawn internal to the rectangle and is always 1 pixel wide. Do you mean you want to change the edge width, or do you mean you want to increase the rectangle width so as to compensate for the space occupied by the edge?
In ChartDrector 7.0, you can configure the edge width, and the edge can be inside the box or outside it. You can use margins to increase the rectangle width.
In ChartDirector 6.3, I think it is possible to achieve similar effect by putting a block inside another block. For example: