Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

  

Inhalt:

Anchor
Data
Data
Optimale Datenstruktur (Datenbank)

...

Anchor
Common
Common
Konfiguration "XdevPieChartConfig" allgemein:

Properties
PieHole

If between 0 and 1, displays a donut chart. The hole with have a radius equal to number times the radius of the chart.

Code Block
languagejava
themeEclipse
pieChart.setPieHole(0.5);


PieStartAngle

The angle, in degrees, to rotate the chart by. The default of 0 will orient the leftmost edge of the first slice directly up.

Code Block
languagejava
themeEclipse
pieChart.setPieStartAngle(60);


PieSliceBorderColor

The color of the slice borders. Only applicable when the chart is two-dimensional.

Code Block
languagejava
themeEclipse
pieChart.setPieSliceBorderColor("red");


PieSliceText

The content of the text displayed on the slice. Can be one of the following:

  • 'percentage' - The percentage of the slice size out of the total.
  • 'value' - The quantitative value of the slice.
  • 'label' - The name of the slice.

'none' - No text is displayed

Code Block
languagejava
themeEclipse
pieChart.setPieSliceText(PieSliceText.PERCENTAGE);


SliceVisibilityThreshold

The fractional value of the pie, below which a slice will not show individually. All slices that have not passed this threshold will be combined to a single "Other" slice, whose size is the sum of all their sizes. Default is not to show individually any slice which is smaller than half a degree.

Code Block
languagejava
themeEclipse
pieChart.setSliceVisibilityThreshold(25);


Is3D

If true, displays a three-dimensional chart.

Code Block
languagejava
themeEclipse
pieChart.setIs3D(true);


...