I trying to add a slight white gap between pie slices, and when I have two slices, the white space is fine, however, when the pie chart only displays a single slice (i.e fills entire pie), a white line is still displayed across the radius of the pie (see attachment).
To create the white gap between slices, I use pieSliceProperties as seen below with the code snippet.
SmartClient Version: v9.1p_2014-06-17/Pro Deployment (built 2014-06-17)
FF ESR 24.6.0
Thanks
To create the white gap between slices, I use pieSliceProperties as seen below with the code snippet.
Code:
FacetChart fc = new FacetChart(); fc.setChartType(ChartType.PIE); fc.setShowTitle(Boolean.FALSE); fc.setFacets(new Facet(FACET_ID, FACET_TITLE)); fc.setValueProperty(VALUE_PROPERTY); fc.setShowShadows(Boolean.FALSE); fc.setWidth100(); fc.setHeight100(); ... DrawSector pieSliceProperties = new DrawSector(); pieSliceProperties.setLineColor("#FFFFFF"); pieSliceProperties.setLineWidth(1); fc.setPieSliceProperties(pieSliceProperties); fc.setData(recordList); ... Window window = new Window(); window.setTitle(title); window.setAutoCenter(Boolean.TRUE); window.setShowMinimizeButton(Boolean.FALSE); window.setShowMaximizeButton(Boolean.FALSE); window.setWidth(400); window.setHeight(400); window.setKeepInParentRect(Boolean.TRUE); window.addItem(fc); window.show();
FF ESR 24.6.0
Thanks
Comment