Documentation / @zerotal/flow-ui / index / ChartProps
Interface: ChartProps
Defined in: flow-ui/src/components/Chart.tsx:40
Indexable
[
key:string]:unknown
Properties
type?
optionaltype?:ChartType
Defined in: flow-ui/src/components/Chart.tsx:41
labels
labels:
string[]
Defined in: flow-ui/src/components/Chart.tsx:42
datasets
datasets:
ChartDataset[]
Defined in: flow-ui/src/components/Chart.tsx:43
height?
optionalheight?:number
Defined in: flow-ui/src/components/Chart.tsx:45
Drawing height in pixels. Width is fluid.
grid?
optionalgrid?:boolean
Defined in: flow-ui/src/components/Chart.tsx:47
Draw the horizontal grid and the value axis.
legend?
optionallegend?:boolean
Defined in: flow-ui/src/components/Chart.tsx:49
Show a legend when there is more than one series.
format?
optionalformat?: (value) =>string
Defined in: flow-ui/src/components/Chart.tsx:51
Format a value for the axis and the accessible summary.
Parameters
value
number
Returns
string
class?
optionalclass?:string
Defined in: flow-ui/src/components/Chart.tsx:52