Called once per render to populate the palette colours in bulk, giving direct access to the native colour vector for high-performance / stateful paletting.
the paletting state. Write your colours into its palettedColors UIntVector.
the native x-values for the current render pass
the native y-values for the current render pass
the native data indexes for the current render pass
the index of the first visible point
the number of points in the current render pass
a map of valueName to Float64Array for fast access to other y-values
Called when the PaletteProvider instance is attached to a RenderableSeries. Use this to be notified when attached and keep a reference to the parent series
Called when the PaletteProvider instance is detached from a RenderableSeries.
Called once before the per-vertex loop starts.
true if paletting should be forced to run. If this exists and returns false, the existing paletting state is reused if possible. If this does NOT exist, the palette will be recalculated on every render. This default will change in v4. Use this to force the palette to be recalculated if some external parameter to it changes.
Convert the object to a definition that can be serialized to JSON, or used directly with the builder api
Generated using TypeDoc
Set true if the paletting does not depend on the visible Range. This prevents the palette being recalculated if only the visible range changes.