public class PiePlotOptions extends BaseProportionalPlotOptions<PiePlotOptions>
BaseChart.setPiePlotOptions(PiePlotOptions) )} method or directly on a
series via the Series.setPlotOptions(PlotOptions) method.
Note that these options are only needed if you want to specifically control the general options
for all pie type series in the entire chart. If you instead want to control the options for all
series in the chart (not just those of a pie type), then you can use the SeriesPlotOptions
class instead. Or, if you want to control the plot options for just one series (and not all pie type
series in the chart), use the Series.setPlotOptions(PlotOptions) method.PlotOptions.Cursor, PlotOptions.PointPlacement, PlotOptions.Stacking| Constructor and Description |
|---|
PiePlotOptions() |
| Modifier and Type | Method and Description |
|---|---|
PointLegendItemClickEventHandler |
getPointLegendItemClickEventHandler()
Returns the custom event handler that has been set on the plot options, or null if no event
handler has been set.
|
PiePlotOptions |
setPieDataLabels(PieDataLabels pieDataLabels)
Convenience method for setting the 'dataLabels' plot option to a configuration object
that is more specific to pie charts.
|
PiePlotOptions |
setPointLegendItemClickEventHandler(PointLegendItemClickEventHandler pointLegendItemClickEventHandler)
Set a callback handler that will be invoked whenever the user clicks on the legend item points
in a pie series.
|
setBorderColor, setBorderColor, setBorderWidth, setCenter, setCenter, setDepth, setIgnoreHiddenPoint, setInnerSize, setInnerSize, setMinSize, setSize, setSize, setSlicedOffset, setStartAnglegetDataLabels, setAllowPointSelect, setAnimation, setAnimation, setBaseDataLabels, setColor, setColor, setCropThreshold, setCursor, setDashStyle, setDataGrouping, setDataLabels, setEnableMouseTracking, setHoverStateEnabled, setHoverStateLineWidth, setHoverStateMarker, setId, setLegendIndex, setLineWidth, setLinkedTo, setLinkedTo, setMarker, setNegativeColor, setNegativeColor, setPointInterval, setPointPlacement, setPointStart, setSelected, setShadow, setShowCheckbox, setShowInLegend, setStacking, setStickyTracking, setThreshold, setTurboThreshold, setVisible, setZIndex, setZoneAxis, setZonesgetOptions, setOptionpublic PiePlotOptions setPieDataLabels(PieDataLabels pieDataLabels)
piePlotOptions.setOption("/dataLabels/connectorWidth", 2.0);
piePlotOptions.setOption("/dataLabels/connectorPadding", 5.0);
etc...
Defines the appearance of the data labels of the pie, which are the static labels for each point.pieDataLabels - The configuration of how the pie's data labels should appear.PiePlotOptions instance for convenient method chaining.public PiePlotOptions setPointLegendItemClickEventHandler(PointLegendItemClickEventHandler pointLegendItemClickEventHandler)
PointLegendItemClickEventHandler instance
that is passed to the handler's PointLegendItemClickEventHandler.onClick(org.moxieapps.gwt.highcharts.client.events.PointLegendItemClickEvent) method.setPointLegendItemClickEventHandler in class BaseProportionalPlotOptions<PiePlotOptions>pointLegendItemClickEventHandler - The handler that should be invoked whenever a legend item click event occurs.BaseChart instance for convenient method chaining.public PointLegendItemClickEventHandler getPointLegendItemClickEventHandler()
getPointLegendItemClickEventHandler in class BaseProportionalPlotOptions<PiePlotOptions>Copyright © 2015. All Rights Reserved.