Options
All
  • Public
  • Public/Protected
  • All
Menu

The IPointMarkerPaletteProvider interface allows you to perform per-point paletting or coloring of series or data-points in Scatter Charts and JavaScript chart types which have a stroke line or outline as well as a fill or body

remarks

See type IStrokePaletteProvider for per data-point coloring of strokes or outlines See type IFillPaletteProvider for per data-point coloring of fills or areas.

Hierarchy

Implemented by

Index

Properties

strokePaletteMode

strokePaletteMode: EStrokePaletteMode

Gets the stroke palette mode

Methods

onAttached

  • 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

    Parameters

    Returns void

onDetached

  • onDetached(): void

overridePointMarkerArgb

  • Called by SciChart and may be used to override the color of fill/stroke on pointmarkers WARNING: CALLED PER-VERTEX, MAY RESULT IN PERFORMANCE DEGREDATION IF COMPLEX CODE EXECUTED HERE

    Parameters

    • xValue: number

      the current XValue

    • yValue: number

      the current YValue

    • index: number

      the current index to the data

    • Optional opacity: number

      the current opacity

    • Optional metadata: IPointMetadata

      the point metadata

    Returns TPointMarkerArgb

    TPointMarkerArgb type with ARGB stroke & fill color codes, e.g. 0xFFFF0000 would be red, or 'undefined' for default colouring

Optional toJSON

Generated using TypeDoc