Class Plot3D.Pie
- Enclosing class:
Plot3D
A 3D pie chart (without axes, the labels in the legend and the percentages at the slices).
-
Method Summary
Modifier and TypeMethodDescriptioncolors(int[] colors) The colors of the slices (0xRRGGBB, default the colors of the categories).explode(double explode) The distance of the slices from the center (0 - 1, default 0).height(double height) The height of the pie (the radius is 4, default 1.2).percentages(boolean percentages) Displays the percentages at the slices (default true).Methods inherited from class Plot3D.Layer
alpha, color, colorMap, labelModifier and TypeMethodDescriptionalpha(double alpha) The opacity (0 transparent - 1 opaque).color(int rgb) One color (0xRRGGBB) for the layer (instead of a color map).colorMap(int[] ramp) The colors of the z values (e.g., PlotLegend.VIRIDIS) with a color bar (null = one color).The label of the layer in the legend.
-
Method Details
-
colors
The colors of the slices (0xRRGGBB, default the colors of the categories). -
explode
The distance of the slices from the center (0 - 1, default 0). -
height
The height of the pie (the radius is 4, default 1.2). -
percentages
Displays the percentages at the slices (default true).
-