ColumnarViewModel
@elastic/charts • Exports
@elastic/charts / ColumnarViewModel
Interface: ColumnarViewModel
Column oriented data input for N data points:
- label: array of N strings
- value: Float64Array of N numbers, for tooltip value display
- color: Float32Array of 4 * N numbers, eg. green[i] = color[4 * i + 1]
- position0: Tween from: Float32Array of 2 * N numbers with unit coordinates [x0, y0, x1, y1, ..., xN-1, yN-1]
- position1: Tween to: Float32Array of 2 * N numbers with unit coordinates [x0, y0, x1, y1, ..., xN-1, yN-1]
- size0: Tween from: Float32Array of N numbers with unit widths [width0, width1, ... , widthN-1]
- size1: Tween to: Float32Array of N numbers with unit widths [width0, width1, ... , widthN-1] If position0 === position1 and size0 === size1, then the nodes are not animated
Contents
Properties
color
color:
Float32Array
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:61
label
label:
string
[]
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:59
position0
position0:
Float32Array
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:62
position1
position1:
Float32Array
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:63
size0
size0:
Float32Array
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:64
size1
size1:
Float32Array
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:65
value
value:
Float64Array
Source
packages/charts/src/chart_types/flame_chart/flame_api.ts:60
Generated using typedoc-plugin-markdown and TypeDoc