HCBoostOptions class
(Highcharts, Highstock) Options for the Boost module. The Boost module allows certain series types to be rendered by WebGL instead of the default SVG. This allows hundreds of thousands of data points to be rendered in milliseconds. In addition to the WebGL rendering it saves time by skipping process
- Implemented types
Constructors
- HCBoostOptions({bool? allowForce, num? chunkSize, HCBoostDebugOptions? debug, bool? enabled, num? pixelRatio, num? seriesThreshold, bool? useGPUTranslations, bool? usePreallocated})
-
const
Properties
- allowForce → bool?
-
(Highcharts, Highstock) The chart will be boosted, if one of the series crosses its threshold and all the series in the chart can be boosted.
final
- chunkSize → num?
-
(Highcharts, Highstock) The number of points processed per frame when building the k-d tree for boosted series. Lower values improve responsiveness but increase the time it takes to build the tree.
final
- debug → HCBoostDebugOptions?
-
(Highcharts, Highstock) Debugging options for boost. Useful for benchmarking, and general timing.
final
- enabled → bool?
-
(Highcharts, Highstock) Enable or disable boost on a chart.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pixelRatio → num?
-
(Highcharts, Highstock) The pixel ratio for the WebGL content. If 0, the
window.devicePixelRatiois used. This ensures sharp graphics on high DPI displays like Apple's Retina, as well as when a page is zoomed.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seriesThreshold → num?
-
(Highcharts, Highstock) Set the series threshold for when the boost should kick in globally.
final
- useGPUTranslations → bool?
-
(Highcharts, Highstock) Enable or disable GPU translations. GPU translations are faster than doing the translation in JavaScript.
final
- usePreallocated → bool?
-
(Highcharts, Highstock) Enable or disable pre-allocation of vertex buffers.
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