Skip to main content

ScatterChartComponent

A scatter chart. Data can be sourced from a url or a JS object, or, if you want to use the chart as part of a dashboard, from the current model provisioned by the VisuallyJsService.

Extends

Methods

ngOnDestroy()

ngOnDestroy(): void

A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

Returns

void

Inherited from

SeriesBasedChartComponent.ngOnDestroy

Properties

data

data: InputSignal<ObjectData[]>

Optional data to load into the chart. This is reactive and can be updated dynamically.

Input

Overrides

SeriesBasedChartComponent.data


options

options: InputSignal<ScatterChartOptions>

Options for the chart. This is reactive and can be updated dynamically.

Input

Overrides

SeriesBasedChartComponent.options


url

url: InputSignal<string>

Optional URL for data to load into the chart. This is reactive and can be updated dynamically.

Input

Overrides

SeriesBasedChartComponent.url


useModel?

optional useModel: boolean

If true, the component attaches to a model provided by the VisuallyJsService. Defaults to false.

Input

Overrides

SeriesBasedChartComponent.useModel