EJSC.PieSeries Property Examples

Methods Demonstrated

Desired Result

Default EJSC.PieSeries

Source Code

    Rendering Source Code...

Methods Demonstrated

  • setDefaultColors
  • getPoints

Description

These buttons will change the Pie Series color and alert the set of points.

Source Code

    Rendering Source Code...

Methods Demonstrated

  • getTotalValue
  • setTotalValue
  • resetTotalValue

Desired Result

The buttons will alert the total value, set it to 100, and reset it back to the default.

Source Code

    Rendering Source Code...

Methods Demonstrated

  • findCenter
  • findCenterOfCurve

Description

These buttons will aler the center of the blue piece, and the center of the blue piece's arc.

Source Code

    Rendering Source Code...