Options
All
  • Public
  • Public/Protected
  • All
Menu
summary

The StackedMountainRenderableSeries allows creating JavaScript Stacked Mountain charts

description

Multiple StackedMountainRenderableSeries are required to create a stacked column chart type in SciChart. These are grouped with a StackedMountainCollection, which implements IRenderableSeries and may be added directly to a SciChartSurface.renderableSeries collection.

Code sample below for creating a stacked mountain chart

const stackedMountain0 = new StackedMountainRenderableSeries(wasmContext);
// .. configure mountain 1, including set dataSeries
const stackedMountain1 = new StackedMountainRenderableSeries(wasmContext);
// .. configure mountain 2, including set dataSeries
const stackedMountain2 = new StackedMountainRenderableSeries(wasmContext);
// .. configure mountain 3, including set dataSeries
const stackedMountainCollection = new StackedMountainCollection(wasmContext);
stackedMountainCollection.add(stackedMountain0, stackedMountain1, stackedMountain2);

sciChartSurface.renderableSeries.add(stackedMountainCollection);
remarks

Do not add the StackedMountainRenderableSeries directly to SciChartSurface.renderableSeries array, instead, use a StackedMountainCollection to group / stack the mountains.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected accumulatedFinalAnimationValues

accumulatedFinalAnimationValues: SCRTDoubleVector

accumulatedValues

accumulatedValues: SCRTDoubleVector

the accumulated values which are used to draw each column/band for BaseStackedRenderableSeries

Protected animationFSM

Protected animationQueue

animationQueue: SeriesAnimation[] = []

Protected currentRenderPassData

currentRenderPassData: RenderPassData

Protected dataSeriesProperty

dataSeriesProperty: IDataSeries

Protected getParentSurfaceFn

getParentSurfaceFn: () => SciChartSurface

Type declaration

hitTestProvider

hitTestProvider: IHitTestProvider

hovered

hovered: EventHandler<SeriesHoveredArgs> = new EventHandler<SeriesHoveredArgs>()

A hovered EventHandler. This event fires whenever the Series is hovered or unhovered by a mouse or pointer.

remarks

See EventHandler for how to subscribe

Readonly id

id: string = generateGuid()

A unique Id for the IRenderableSeries

invalidateParentCallback

invalidateParentCallback: () => void

A callback which tells the parent SciChartSurface that it must be redrawn, e.g. when a property changes

Type declaration

    • (): void
    • Returns void

Readonly isStacked

isStacked: boolean = true

Returns true if the series is a stacked series or not

isVisibleChanged

isVisibleChanged: EventHandler<SeriesVisibleChangedArgs> = new EventHandler<SeriesVisibleChangedArgs>()

An isVisible changed EventHandler. This event fires whenever the Series isVisible changes.

remarks

See EventHandler for how to subscribe

Protected notifyParentPropertyChangedFn

notifyParentPropertyChangedFn: (propertyName: string) => void

Type declaration

    • (propertyName: string): void
    • Parameters

      • propertyName: string

      Returns void

Protected opacityProperty

opacityProperty: number = 1

Protected paletteProviderProperty

paletteProviderProperty: IPaletteProvider = DefaultPaletteProvider.createEmpty()

Protected parentCollection

Protected pointSeries

Protected resamplerHelper

resamplerHelper: ExtremeResamplerHelper

Readonly rolloverModifierProps

rolloverModifierProps: RolloverModifierRenderableSeriesProps = new RolloverModifierRenderableSeriesProps(this)

Readonly rolloverModifierProps1

rolloverModifierProps1: RolloverModifierRenderableSeriesProps = new RolloverModifierRenderableSeriesProps(this, true)

Gets or sets RolloverModifierRenderableSeriesProps for RolloverModifier tooltips Is being used for Y1 tooltips for FastBandRenderableSeries

selected

selected: EventHandler<SeriesSelectedArgs> = new EventHandler<SeriesSelectedArgs>()

A selected EventHandler. This event fires whenever the Series is selected or deselected.

remarks

See EventHandler for how to subscribe

Readonly type

type: StackedMountainSeries = ESeriesType.StackedMountainSeries

Protected typeMap

typeMap: Map<string, string> = new Map<string, string>()

Protected webAssemblyContext

webAssemblyContext: TSciChart

Accessors

animation

dataSeries

drawNaNAs

drawingProviders

effect

enableDrawingOptimisations

  • get enableDrawingOptimisations(): boolean

fill

  • get fill(): string
  • set fill(fill: string): void
  • Gets or sets the fill brush of the mountain as an HTML color code

    Returns string

  • Gets or sets the fill brush of the mountain as an HTML color code

    Parameters

    • fill: string

    Returns void

fillY1

  • get fillY1(): string
  • set fillY1(fillY1: string): void
  • Gets or sets the fill color for when Y1 is less than Y as an HTML Color code

    Returns string

  • Gets or sets the fill color for when Y1 is less than Y as an HTML Color code

    Parameters

    • fillY1: string

    Returns void

isDigitalLine

  • get isDigitalLine(): boolean
  • set isDigitalLine(isDigitalLine: boolean): void
  • When true, if this series draws a line, the line will be a digital (step) line

    inheritdoc

    Returns boolean

  • When true, if this series draws a line, the line will be a digital (step) line

    inheritdoc

    Parameters

    • isDigitalLine: boolean

    Returns void

isHovered

  • get isHovered(): boolean
  • set isHovered(isHovered: boolean): void
  • Gets or sets whether the Series is hovered by a mouse or pointer device. Setting programmatically will trigger hovered logic

    inheritdoc

    Returns boolean

  • Gets or sets whether the Series is hovered by a mouse or pointer device. Setting programmatically will trigger hovered logic

    inheritdoc

    Parameters

    • isHovered: boolean

    Returns void

isRunningAnimation

  • get isRunningAnimation(): boolean

isRunningDataAnimation

  • get isRunningDataAnimation(): boolean

isSelected

  • get isSelected(): boolean
  • set isSelected(isSelected: boolean): void
  • Gets or sets whether the Series is selected. Setting programmatically will trigger selection logic

    inheritdoc

    Returns boolean

  • Gets or sets whether the Series is selected. Setting programmatically will trigger selection logic

    inheritdoc

    Parameters

    • isSelected: boolean

    Returns void

isSpline

  • get isSpline(): boolean
  • Returns true if the series uses spline interpolation

    inheritdoc

    Returns boolean

isVisible

  • get isVisible(): boolean
  • set isVisible(isVisible: boolean): void
  • When true, the series is visible and drawn

    inheritdoc

    Returns boolean

  • When true, the series is visible and drawn

    inheritdoc

    Parameters

    • isVisible: boolean

    Returns void

opacity

  • get opacity(): number
  • set opacity(value: number): void
  • An Opacity factor of the Series that controls its semi-transparency level, where value 1 means the Series is opaque; 0 - transparent.

    inheritdoc

    Returns number

  • An Opacity factor of the Series that controls its semi-transparency level, where value 1 means the Series is opaque; 0 - transparent.

    inheritdoc

    Parameters

    • value: number

    Returns void

paletteProvider

parentSurface

pointMarker

resamplingMode

resamplingPrecision

  • get resamplingPrecision(): number
  • set resamplingPrecision(value: number): void

stroke

  • get stroke(): string
  • set stroke(htmlColorCode: string): void
  • A Stroke for lines, outlines and edges of this RenderableSeries

    inheritdoc

    Returns string

  • A Stroke for lines, outlines and edges of this RenderableSeries

    inheritdoc

    Parameters

    • htmlColorCode: string

    Returns void

strokeDashArray

  • get strokeDashArray(): number[]
  • set strokeDashArray(strokeDashArray: number[]): void
  • The StrokeDashArray defines the stroke or dash pattern for the Y0 line. Accepts an array of values, e.g. [2,2] will have a line of length 2 and a gap of length 2.

    Returns number[]

  • The StrokeDashArray defines the stroke or dash pattern for the Y0 line. Accepts an array of values, e.g. [2,2] will have a line of length 2 and a gap of length 2.

    Parameters

    • strokeDashArray: number[]

    Returns void

strokeThickness

  • get strokeThickness(): number
  • set strokeThickness(value: number): void
  • The Stroke Thickness for lines, outlines and edges of this RenderableSeries

    inheritdoc

    Returns number

  • The Stroke Thickness for lines, outlines and edges of this RenderableSeries

    inheritdoc

    Parameters

    • value: number

    Returns void

strokeY1

  • get strokeY1(): string
  • set strokeY1(strokeY1: string): void
  • Gets or sets the stroke color the Y1 values in the data-series. See associated XyyDataSeries for further information

    remarks

    This property is set internally to the value of a previous StackedMountainSeries.

    Returns string

  • Gets or sets the stroke color the Y1 values in the data-series. See associated XyyDataSeries for further information

    remarks

    This property is set internally to the value of a previous StackedMountainSeries.

    Parameters

    • strokeY1: string

    Returns void

strokeY1DashArray

  • get strokeY1DashArray(): number[]
  • set strokeY1DashArray(strokeY1DashArray: number[]): void
  • The strokeY1DashArray defines the stroke or dash pattern for the Y1 line. Accepts an array of values, e.g. [2,2] will have a line of length 2 and a gap of length 2.

    remarks

    This property is set internally to the value of a previous StackedMountainSeries.

    Returns number[]

  • The strokeY1DashArray defines the stroke or dash pattern for the Y1 line. Accepts an array of values, e.g. [2,2] will have a line of length 2 and a gap of length 2.

    remarks

    This property is set internally to the value of a previous StackedMountainSeries.

    Parameters

    • strokeY1DashArray: number[]

    Returns void

supportsResampling

  • get supportsResampling(): boolean

xAxis

xAxisId

  • get xAxisId(): string
  • set xAxisId(value: string): void

yAxis

yAxisId

  • get yAxisId(): string
  • set yAxisId(value: string): void

Methods

Protected afterAnimationComplete

  • afterAnimationComplete(): void

applyTheme

Protected beforeAnimationStart

  • beforeAnimationStart(): void

checkIsOutOfDataRange

  • checkIsOutOfDataRange(xValue: number, yValue: number): boolean

Protected dataSeriesDataChanged

  • dataSeriesDataChanged(): void

delete

  • delete(): void

draw

enqueueAnimation

getBaseXValues

  • getBaseXValues(): number[]
  • getBaseXValues() is not supported for BaseStackedRenderableSeries

    Returns number[]

getCurrentRenderPassData

getDataPointWidth

getDataSeriesName

  • getDataSeriesName(): string

getDataSeriesValuesCount

  • getDataSeriesValuesCount(): number

getIndicesRange

getNativeXValues

  • getNativeXValues(): SCRTDoubleVector

getNativeYValues

  • getNativeYValues(): SCRTDoubleVector

getSeriesInfo

getXRange

getYRange

hasDataSeries

  • hasDataSeries(): boolean

hasDataSeriesValues

  • hasDataSeriesValues(): boolean

hasFillPaletteProvider

  • hasFillPaletteProvider(): boolean

hasPointMarkerPaletteProvider

  • hasPointMarkerPaletteProvider(): boolean

hasStrokePaletteProvider

  • hasStrokePaletteProvider(): boolean

Protected needsResampling

Protected newHitTestProvider

notifyPropertyChanged

  • notifyPropertyChanged(propertyName: string): void

onAnimate

  • onAnimate(): void

onAttach

onAttachToParentCollection

onDetach

  • onDetach(): void

onDetachFromParentCollection

  • onDetachFromParentCollection(): void

onDpiChanged

pushPalettedColors

runAnimation

Protected setAnimationVectors

Protected setPaletteProvider

toJSON

toPointSeries

Protected updateAnimationProperties

Protected valueChanged

  • valueChanged(oldValue: any, newValue: any): boolean

Generated using TypeDoc