HCPlotPieOptions class
(Highcharts, Highmaps) A pie chart is a circular graphic which is divided into slices to illustrate numerical proportion.
- Implemented types
Constructors
-
HCPlotPieOptions({HCSeriesAccessibilityOptionsObject? accessibility, bool? allowPointSelect, dynamic animation, dynamic borderColor, dynamic borderRadius, num? borderWidth, dynamic center, String? className, bool? clip, dynamic color, dynamic colorAxis, num? colorIndex, String? colorKey, List? colors, bool? crisp, String? cursor, HCDictionary? custom, dynamic dataLabels, HCDataMappingOptionsObject? dataMapping, num? depth, String? description, bool? enableMouseTracking, num? endAngle, HCSeriesEventsOptionsObject? events, dynamic fillColor, num? gapSize, String? gapUnit, bool? ignoreHiddenPoint, bool? inactiveOtherPoints, bool? includeInDataExport, dynamic innerSize, dynamic joinBy, List<
String> ? keys, String? legendSymbol, dynamic legendSymbolColor, String? linecap, dynamic minSize, bool? nullInteraction, dynamic onPoint, num? opacity, HCPlotSeriesPointOptions? point, dynamic pointDescriptionFormat, dynamic pointDescriptionFormatter, bool? relativeXValue, bool? selected, dynamic shadow, bool? showCheckbox, bool? showInLegend, dynamic size, num? slicedOffset, HCSeriesSonificationOptions? sonification, num? startAngle, HCSeriesStatesOptionsObject? states, bool? stickyTracking, num? thickness, HCSeriesTooltipOptionsObject? tooltip, bool? visible, num? zIndex, bool? zoomEnabled}) -
const
Properties
- accessibility → HCSeriesAccessibilityOptionsObject?
-
(Highcharts, Highmaps) Accessibility options for a series.
final
- allowPointSelect → bool?
-
(Highcharts, Highmaps) Allow this series' points to be selected by clicking on the graphic (columns, point markers, pie slices, map areas etc).
final
- animation → dynamic
-
(Highcharts, Highmaps) Enable or disable the initial animation when a series is displayed. The animation can also be set as a configuration object. Please note that this option only applies to the initial animation of the series itself. For other animations, see chart.animation and the animation par
final
- borderColor → dynamic
-
(Highcharts, Highmaps) The color of the border surrounding each slice. When
null, the border takes the same color as the slice fill. This can be used together with aborderWidthto fill drawing gaps created by antialiasing artifacts in border-less pies.final - borderRadius → dynamic
-
(Highcharts, Highmaps) The corner radius of the border surrounding each slice. A number signifies pixels. A percentage string, like for example
50%, signifies a size relative to the radius and the inner radius.final - borderWidth → num?
-
(Highcharts, Highmaps) The width of the border surrounding each slice.
final
- center → dynamic
-
(Highcharts, Highmaps) The center of the pie chart relative to the plot area. Can be percentages or pixel values. The default behavior (as of 3.0) is to center the pie so that all slices and data labels are within the plot area. As a consequence, the pie may actually jump around in a chart with dyna
final
- className → String?
-
(Highcharts, Highmaps) An additional class name to apply to the series' graphical elements. This option does not replace default class names of the graphical element. Changes to the series' color will also be reflected in a chart's legend and tooltip.
final
- clip → bool?
-
(Highcharts) Disable this option to allow series rendering in the whole plotting area.
final
- color → dynamic
-
(Highcharts, Highmaps) The color of the pie series. A pie series is represented as an empty circle if the total sum of its values is 0. Use this property to define the color of its border.
final
- colorAxis → dynamic
-
(Highcharts, Highstock, Highmaps) When using dual or multiple color axes, this number defines which colorAxis the particular series is connected to. It refers to either the axis id or the index of the axis in the colorAxis array, with 0 being the first. Set this option to false to prevent a series f
final
- colorIndex → num?
-
(Highcharts, Highmaps) Styled mode only. A specific color index to use for the series, so its graphic representations are given the class name
highcharts-color-{n}.final - colorKey → String?
-
(Highcharts, Highstock, Highmaps) Determines what data value should be used to calculate point color if
colorAxisis used. Requires to setminandmaxif some custom point property is used or if approximation for data grouping is set to'sum'.final - colors → List?
-
(Highcharts, Highmaps) A series specific or series type specific color set to use instead of the global colors.
final
- crisp → bool?
-
(Highcharts, Highstock, Gantt) When true, each point or column edge is rounded to its nearest pixel in order to render sharp on screen. In some cases, when there are a lot of densely packed columns, this leads to visible difference in column widths or distance between columns. In these cases, settin
final
- cursor → String?
-
(Highcharts, Highmaps) You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked.
final
- custom → HCDictionary?
-
(Highcharts, Highmaps) A reserved subspace to store options and values for customized functionality. Here you can add additional data for your own event callbacks and formatter callbacks.
final
- dataLabels → dynamic
-
(Highcharts, Highstock, Highmaps, Gantt) Options for the series data labels, appearing next to each data point.
final
- dataMapping → HCDataMappingOptionsObject?
-
(Highcharts, Highmaps) The mapping between the data table and the series data points. This is used in conjunction with the
dataTableoption (on chart or series level) to map columns from the data table to the properties of the data points. The keys of thedataMappingobject correspond to the profinal - depth → num?
-
(Highcharts) The thickness of a 3D pie.
final
- description → String?
-
(Highcharts, Highmaps) Deprecated. Use plotOptions.series.accessibility.description instead.
final
- enableMouseTracking → bool?
-
(Highcharts, Highmaps) Enable or disable the mouse tracking for a specific series. This includes point tooltips and click events on graphs and points. For large datasets it improves performance.
final
- endAngle → num?
-
(Highcharts, Highmaps) The end angle of the pie in degrees where 0 is top and 90 is right. Defaults to
startAngleplus 360.final - events → HCSeriesEventsOptionsObject?
-
(Highcharts, Highmaps) General event handlers for the series items. These event hooks can also be attached to the series at run time using the
Highcharts.addEventfunction.final - fillColor → dynamic
-
(Highcharts, Highmaps) If the total sum of the pie's values is 0, the series is represented as an empty circle . The
fillColoroption defines the color of that circle. Use pie.borderWidth to set the border thickness.final - gapSize → num?
-
(Highcharts, Highstock) Defines when to display a gap in the graph, together with the gapUnit option.
final
- gapUnit → String?
-
(Highcharts, Highstock) Together with gapSize, this option defines where to draw gaps in the graph.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreHiddenPoint → bool?
-
(Highcharts, Highmaps) Equivalent to chart.ignoreHiddenSeries, this option tells whether the series shall be redrawn as if the hidden point were
null.final - inactiveOtherPoints → bool?
-
(Highcharts, Highmaps) Highlight only the hovered point and fade the remaining points.
final
- includeInDataExport → bool?
-
(Highcharts, Highmaps) When set to
falsewill prevent the series data from being included in any form of data export.final - innerSize → dynamic
-
(Highcharts, Highmaps) The size of the inner diameter for the pie. A size greater than 0 renders a donut chart. Can be a percentage or pixel value. Percentages are relative to the pie size. Pixel values are given as integers. Setting overridden by thickness.
final
- joinBy → dynamic
-
(Highmaps) What property to join the
mapDatato the value data. For example, if joinBy is "code", the mapData items with a specific code is merged into the data with the same code. For maps loaded from GeoJSON, the keys may be held in each point'spropertiesobject.final -
keys
→ List<
String> ? -
(Highcharts, Highmaps) An array specifying which option maps to which key in the data point array. This makes it convenient to work with unstructured data arrays from different sources.
final
- legendSymbol → String?
-
(Highcharts, Highmaps) What type of legend symbol to render for this series. Can be one of
areaMarker,lineMarkerorrectangle.final - legendSymbolColor → dynamic
-
(Highcharts, Highstock, Highmaps) Defines the color of the legend symbol for this series. Defaults to undefined, in which case the series color is used. Does not work with styled mode.
final
- linecap → String?
-
(Highcharts, Highmaps) The line cap used for line ends and line joins on the graph.
final
- minSize → dynamic
-
(Highcharts, Highmaps) The minimum size for a pie in response to auto margins. The pie will try to shrink to make room for data labels in side the plot area, but only to this size.
final
- nullInteraction → bool?
-
(Highcharts, Highstock) Whether or not data-points with the value of
nullshould be interactive. When this is set totrue, tooltips may highlight these points, and this option also enables keyboard navigation for such points. Format options for such points includenullFormatand `nullFormatterfinal - onPoint → dynamic
-
(Highcharts, Highmaps) Options for the Series on point feature. Only
pieandsunburstseries are supported at this moment.final - opacity → num?
-
(Highcharts, Highmaps) Opacity of a series parts: line, fill (e.g. area) and dataLabels.
final
- point → HCPlotSeriesPointOptions?
-
(Highcharts, Highmaps) Properties for each single point.
final
- pointDescriptionFormat → dynamic
-
(Highcharts, Highmaps) Deprecated. Use series.accessibility.point.descriptionFormat instead.
final
- pointDescriptionFormatter → dynamic
-
(Highcharts, Highmaps) Deprecated. Use series.accessibility.point.descriptionFormatter instead.
final
- relativeXValue → bool?
-
(Highcharts, Highstock) When true, X values in the data set are relative to the current
pointStart,pointIntervalandpointIntervalUnitsettings. This allows compression of the data for datasets with irregular X values.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → bool?
-
(Highcharts, Highmaps) Whether to select the series initially. If
showCheckboxis true, the checkbox next to the series name in the legend will be checked for a selected series.final - shadow → dynamic
-
(Highcharts, Highmaps) Whether to apply a drop shadow to the graph line. Since 2.3 the shadow can be an object configuration containing
color,offsetX,offsetY,opacityandwidth.final - showCheckbox → bool?
-
(Highcharts, Highmaps) If true, a checkbox is displayed next to the legend item to allow selecting the series. The state of the checkbox is determined by the
selectedoption.final - showInLegend → bool?
-
(Highcharts, Highmaps) Whether to display this particular series or series type in the legend. Since 2.1, pies are not shown in the legend by default.
final
- size → dynamic
-
(Highcharts, Highmaps) The diameter of the pie relative to the plot area. Can be a percentage or pixel value. Pixel values are given as integers. The default behavior (as of 3.0) is to scale to the plot area and give room for data labels within the plot area. slicedOffset is also included in the def
final
-
(Highcharts, Highmaps) Deprecated. Use series.accessibility.keyboardNavigation instead.
final
- slicedOffset → num?
-
(Highcharts, Highmaps) If a point is sliced, moved out from the center, how many pixels should it be moved?.
final
- sonification → HCSeriesSonificationOptions?
-
(Highcharts, Highmaps) Sonification/audio chart options for a series.
final
- startAngle → num?
-
(Highcharts, Highmaps) The start angle of the pie slices in degrees where 0 is top and 90 right.
final
- states → HCSeriesStatesOptionsObject?
-
(Highcharts, Highmaps) A collection of options for different series states.
final
- stickyTracking → bool?
-
(Highcharts, Highmaps) Sticky tracking of mouse events. When true, the
mouseOutevent on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, themouseOutevent on a series is triggered when the mouse leaves the area around the series' graph orfinal - thickness → num?
-
(Highcharts) Thickness describing the ring size for a donut type chart, overriding innerSize.
final
- tooltip → HCSeriesTooltipOptionsObject?
-
(Highcharts, Highmaps) A configuration object for the tooltip rendering of each single series. Properties are inherited from tooltip, but only the following properties can be defined on a series level.
final
- visible → bool?
-
(Highcharts, Highmaps) Set the initial visibility of the series.
final
- zIndex → num?
-
(Highmaps) Define the z index of the series.
final
- zoomEnabled → bool?
-
(Highcharts, Highmaps) Whether to zoom non-cartesian series. If
chart.zoomingis set, the option allows to disable zooming on an individual non-cartesian series. By default zooming is enabled for all series.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited