HighchartsSolidGaugeSeriesOptions class
A solidgauge
series. If the type option is not
specified, it is inherited from chart.type.
Configuration options for the series are given in three levels:
- Options for all series in a chart are defined in the plotOptions.series object.
- Options for all
solidgauge
series are defined in plotOptions.solidgauge. - Options for one single series are given in the series instance array.
API Docs: https://api.highcharts.com/highcharts/series.solidgauge
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsSolidGaugeSeriesOptions
Constructors
-
HighchartsSolidGaugeSeriesOptions.new({HighchartsSeriesAccessibilityOptions? accessibility, bool? allowPointSelect, dynamic animation, String? className, bool? clip, String? color, bool? colorByPoint, double? colorIndex, bool? crisp, String? cursor, Map<
String, dynamic> ? custom, HighchartsSolidGaugeSeriesDataLabelsOptions? dataLabels, String? description, bool? enableMouseTracking, HighchartsSeriesEventsOptions? events, String? id, bool? inactiveOtherPoints, bool? includeInDataExport, double? index, String? innerRadius, List<String> ? keys, HighchartsSeriesLabelOptions? label, double? legendIndex, String? legendSymbol, String? legendSymbolColor, double? lineWidth, String? linecap, String? linkedTo, bool? nullInteraction, HighchartsSeriesOnPointOptions? onPoint, double? opacity, double? overshoot, HighchartsSeriesPointOptions? point, dynamic pointDescriptionFormat, dynamic pointDescriptionFormatter, double? pointInterval, String? pointIntervalUnit, dynamic pointStart, String? radius, bool? relativeXValue, bool? rounded, bool? selected, bool? showCheckbox, bool? showInLegend, HighchartsSeriesSonificationOptions? sonification, bool? stickyTracking, HighchartsSolidGaugeSeriesTooltipOptions? tooltip, bool? visible, dynamic xAxis, dynamic yAxis, double? zIndex, bool? zoomEnabled}) -
A
solidgauge
series. If the type option is not specified, it is inherited from chart.type.
Properties
- accessibility ↔ HighchartsSeriesAccessibilityOptions?
-
Accessibility options for a series.
getter/setter pair
- allowPointSelect ↔ bool?
-
Allow this series' points to be selected by clicking on the graphic
(columns, point markers, pie slices, map areas etc).
getter/setter pair
- animation ↔ dynamic
-
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 parameter under the API methods.
The following properties are supported:
getter/setter pair
- className ↔ String?
-
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.
getter/setter pair
- clip ↔ bool?
-
Disable this option to allow series rendering in the whole plotting
area.
getter/setter pair
- color ↔ String?
-
The main color of the series. In line type series it applies to the
line and the point markers unless otherwise specified. In bar type
series it applies to the bars unless a color is specified per point.
The default value is pulled from the
options.colors
array.getter/setter pair - colorByPoint ↔ bool?
-
Whether to give each point an individual color.
getter/setter pair
- colorIndex ↔ double?
-
Styled mode only. A specific color index to use for the series, so its
graphic representations are given the class name
highcharts-color-{n}
.getter/setter pair - crisp ↔ bool?
-
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,
setting
crisp
tofalse
may look better, even though each column is rendered blurry.getter/setter pair - cursor ↔ String?
-
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.
getter/setter pair
-
custom
↔ Map<
String, dynamic> ? -
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.
getter/setter pair
- dataLabels ↔ HighchartsSolidGaugeSeriesDataLabelsOptions?
-
Highcharts Options Widget.
getter/setter pair
- description ↔ String?
-
A description of the series to add to the screen reader information
about the series.
getter/setter pair
- enableMouseTracking ↔ bool?
-
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.
getter/setter pair
- events ↔ HighchartsSeriesEventsOptions?
-
General event handlers for the series items. These event hooks can
also be attached to the series at run time using the
Highcharts.addEvent
function.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
An id for the series. This can be used after render time to get a pointer
to the series object through
chart.get()
.getter/setter pair - inactiveOtherPoints ↔ bool?
-
Highlight only the hovered point and fade the remaining points.
getter/setter pair
- includeInDataExport ↔ bool?
-
When set to
false
will prevent the series data from being included in any form of data export.getter/setter pair - index ↔ double?
-
The index of the series in the chart, affecting the internal index in the
chart.series
array, the visible Z index as well as the order in the legend.getter/setter pair - innerRadius ↔ String?
-
The inner radius for points in a solid gauge. Can be given only in
percentage, either as a number or a string like
"50%"
.getter/setter pair -
keys
↔ List<
String> ? -
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.
getter/setter pair
- label ↔ HighchartsSeriesLabelOptions?
-
Series labels are placed as close to the series as possible in a
natural way, seeking to avoid other series. The goal of this
feature is to make the chart more easily readable, like if a
human designer placed the labels in the optimal position.
getter/setter pair
- legendIndex ↔ double?
-
The sequential index of the series in the legend.
getter/setter pair
- legendSymbol ↔ String?
-
What type of legend symbol to render for this series. Can be one of
areaMarker
,lineMarker
orrectangle
.getter/setter pair - legendSymbolColor ↔ String?
-
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.
getter/setter pair
- linecap ↔ String?
-
Whether the strokes of the solid gauge should be
round
orsquare
.getter/setter pair - lineWidth ↔ double?
-
Pixel width of the graph line.
getter/setter pair
- linkedTo ↔ String?
-
The id of another series to link to. Additionally,
the value can be ":previous" to link to the previous series. When
two series are linked, only the first one appears in the legend.
Toggling the visibility of this also toggles the linked series.
getter/setter pair
- nullInteraction ↔ bool?
-
Whether or not data-points with the value of
null
should 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 includenullFormat
andnullFormater
. Works for these series:line
,spline
,area
,area-spline
,column
,bar
, and*timeline
.getter/setter pair - onPoint ↔ HighchartsSeriesOnPointOptions?
-
Options for the Series on point feature. Only
pie
andsunburst
series are supported at this moment.getter/setter pair - opacity ↔ double?
-
Opacity of a series parts: line, fill (e.g. area) and dataLabels.
getter/setter pair
- overshoot ↔ double?
-
Allow the gauge to overshoot the end of the perimeter axis by this
many degrees. Say if the gauge axis goes from 0 to 60, a value of
100, or 1000, will show 5 degrees beyond the end of the axis when this
option is set to 5.
getter/setter pair
- point ↔ HighchartsSeriesPointOptions?
-
Properties for each single point.
getter/setter pair
- pointDescriptionFormat ↔ dynamic
-
Same as
accessibility.point.descriptionFormat,
but for an individual series. Overrides the chart wide configuration.
getter/setter pair
- pointDescriptionFormatter ↔ dynamic
-
Same as
accessibility.series.descriptionFormatter,
but for an individual series. Overrides the chart wide configuration.
getter/setter pair
- pointInterval ↔ double?
-
If no x values are given for the points in a series,
pointInterval
defines the interval of the x values. For example, if a series contains one value every decade starting from year 0, setpointInterval
to10
. In truedatetime
axes, thepointInterval
is set in milliseconds.getter/setter pair - pointIntervalUnit ↔ String?
-
On datetime series, this allows for setting the
pointInterval to irregular time
units,
day
,month
andyear
. A day is usually the same as 24 hours, butpointIntervalUnit
also takes the DST crossover into consideration when dealing with local time. Combine this option withpointInterval
to draw weeks, quarters, 6 months, 10 years etc.getter/setter pair - pointStart ↔ dynamic
-
If no x values are given for the points in a series,
pointStart
defines on what value to start. For example, if a series contains one yearly value starting from 1945, setpointStart
to 1945.getter/setter pair - radius ↔ String?
-
The outer radius for points in a solid gauge. Can be given only in
percentage, either as a number or a string like
"100%"
.getter/setter pair - relativeXValue ↔ bool?
-
When true, X values in the data set are relative to the current
pointStart
,pointInterval
andpointIntervalUnit
settings. This allows compression of the data for datasets with irregular X values.getter/setter pair - rounded ↔ bool?
-
Whether to draw rounded edges on the gauge. This options adds the radius
of the rounding to the ends of the arc, so it extends past the actual
values. When
borderRadius
is set, it takes precedence overrounded
. AborderRadius
of 50% behaves likerounded
, except the shape is not extended past its value.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected ↔ bool?
-
Whether to select the series initially. If
showCheckbox
is true, the checkbox next to the series name in the legend will be checked for a selected series.getter/setter pair - showCheckbox ↔ bool?
-
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
selected
option.getter/setter pair - showInLegend ↔ bool?
-
Whether to display this particular series or series type in the
legend. Defaults to false for gauge series.
getter/setter pair
-
If set to
true
, the accessibility module will skip past the points in this series for keyboard navigation.getter/setter pair - sonification ↔ HighchartsSeriesSonificationOptions?
-
Sonification/audio chart options for a series.
getter/setter pair
- stickyTracking ↔ bool?
-
Sticky tracking of mouse events. When true, the
mouseOut
event on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, themouseOut
event on a series is triggered when the mouse leaves the area around the series' graph or markers. This also implies the tooltip when not shared. WhenstickyTracking
is false andtooltip.shared
is false, the tooltip will be hidden when moving the mouse between series. Defaults to true for line and area type series, but to false for columns, pies etc.getter/setter pair - tooltip ↔ HighchartsSolidGaugeSeriesTooltipOptions?
-
Highcharts Options Widget.
getter/setter pair
- visible ↔ bool?
-
Set the initial visibility of the series.
getter/setter pair
- xAxis ↔ dynamic
-
When using dual or multiple x axes, this number defines which xAxis the
particular series is connected to. It refers to either the
axis id
or the index of the axis in the xAxis array, with 0 being the first.
getter/setter pair
- yAxis ↔ dynamic
-
When using dual or multiple y axes, this number defines which yAxis the
particular series is connected to. It refers to either the
axis id
or the index of the axis in the yAxis array, with 0 being the first.
getter/setter pair
- zIndex ↔ double?
-
Define the visual z index of the series.
getter/setter pair
- zoomEnabled ↔ bool?
-
Whether to zoom non-cartesian series. If
chart.zooming
is set, the option allows to disable zooming on an individual non-cartesian series. By default zooming is enabled for all series.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited