Class Plot3D.Pie

Enclosing class:
Plot3D

public static final class Plot3D.Pie extends Plot3D.Layer<Plot3D.Pie>
A 3D pie chart (without axes, the labels in the legend and the percentages at the slices).
  • Method Details

    • colors

      public Plot3D.Pie colors(int[] colors)
      The colors of the slices (0xRRGGBB, default the colors of the categories).
    • explode

      public Plot3D.Pie explode(double explode)
      The distance of the slices from the center (0 - 1, default 0).
    • height

      public Plot3D.Pie height(double height)
      The height of the pie (the radius is 4, default 1.2).
    • percentages

      public Plot3D.Pie percentages(boolean percentages)
      Displays the percentages at the slices (default true).