Skip to main content

ChartSettings

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/charts/core/renderChartJS / ChartSettings

Interface: ChartSettings

Defined in: utils/charts/core/renderChartJS.js:39

Properties​

maxpoints​

maxpoints: string | number

Defined in: utils/charts/core/renderChartJS.js:40

Maximum data points to display


chartType​

chartType: string

Defined in: utils/charts/core/renderChartJS.js:41

Type of chart (line, bar, etc.)


interpolation​

interpolation: string

Defined in: utils/charts/core/renderChartJS.js:42

Data interpolation method


animation​

animation: string

Defined in: utils/charts/core/renderChartJS.js:43

Animation style preference


showGrid​

showGrid: boolean

Defined in: utils/charts/core/renderChartJS.js:44

Whether to show grid lines


showLegend​

showLegend: boolean

Defined in: utils/charts/core/renderChartJS.js:45

Whether to show chart legend


showTitle​

showTitle: boolean

Defined in: utils/charts/core/renderChartJS.js:46

Whether to show chart title


showPoints​

showPoints: boolean

Defined in: utils/charts/core/renderChartJS.js:47

Whether to show data points


showFill​

showFill: boolean

Defined in: utils/charts/core/renderChartJS.js:48

Whether to fill areas under lines


smoothing​

smoothing: number

Defined in: utils/charts/core/renderChartJS.js:49

Line smoothing factor


colors​

colors: string[]

Defined in: utils/charts/core/renderChartJS.js:50

Custom color palette