Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problem when adding pie slice gap when only a single slice.

    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.

    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();
    SmartClient Version: v9.1p_2014-06-17/Pro Deployment (built 2014-06-17)

    FF ESR 24.6.0

    Thanks
    Attached Files

    #2
    This issue should be resolved with the next nightly build dated June 27 or above

    Thanks
    Isomorphic Software

    Comment


      #3
      The issue is resolved. Thx.

      Comment

      Working...
      X