Announcement

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

    FacetChart ChartType.PIE

    Could you please provide an example for flattening the FacetChart PIE chart type? I've turned shadowing off, however, I am looking to remove the gradient or darkening around the perimeter that gives the PIE chart the default 3D/bevelled effect.
    Thanks

    24.7.0 ESR
    SmartClient Version: v9.1p_2014-07-06/Pro Deployment (built 2014-07-06)

    #2
    At the moment, completely getting rid of the 3d effect would require an override of FacetChart.getDataGradient(), which is exposed as a SmartClient API but not a SmartGWT API yet.

    We plan to expose this API in SmartGWT soon.

    To address this immediately, use the approach described in the Skinning guide of creating a SmartClient subclass in JavaScript, then using it in SmartGWT via setSCClassname().

    Comment


      #3
      Actually, there's a simpler way to do this - call setUseAutoGradients(false) for a Pie chart to get rid of use of gradients.

      Comment


        #4
        Thank you very much, worked nicely.

        Comment

        Working...
        X