Designers who have used 1.0 prior to 1.1 would definitely miss the chart styles. They are no longer there. Every now and then question pop up about the styles and the unusable setStyle and getStyle methods.
Here is style that I was able to create for a pie chart, which by the styles standard, pretty basic. But then this is all I can do with what is available.
This consist of two pie charts assigned to the same data source. Lower one slightly larger and brighter color than the upper one.
Charts can be positioned manually using the properties panel as shown below
|Upper Chart||Lower Chart|
OR can be positioned using script as shown below
var extraDia = 20; CHART_2.setWidth(CHART_1.getWidth() + extraDia); CHART_2.setHeight(CHART_1.getHeight() + extraDia); CHART_2.setTopMargin(CHART_1.getTopMargin() - extraDia/2); CHART_2.setLeftMargin(CHART_1.getLeftMargin() - extraDia/2);
Either way, if you want a glossy thickness of 10px, add 20px to the width and height of the lower chart and position it 10px to the top-left of the upper chart.
SAP, give us our styles back….