Numerical charts are usually used to display key indicator information and its historical data.
{"spend": {"bind": "cost","link": "/x/Table/pet","view": {"type": "NumberChart","props": {"chartHeight": 150,"color": "red","prefix": "¥","decimals": 2,"nameKey": "date","valueKey": "value"}}}}
interface IProps {data: Array<any>type: 'bar' | 'line'nameKey?: stringvalueKey?: stringprefix?: stringunit?: stringdecimals?: numberchartHeight?: numbercolor?: string}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
nameKey | name key | string | - | no | |
valueKey | value key | string | - | no | |
prefix | prefix | string | - | no | |
unit | unit | string | - | no | |
decimals | decimal point | number | - | no | |
chartHeight | height | number | - | no | |
color | color | string | - | no |
Numerical charts are usually used to display key indicator information and its historical data.
{"spend": {"bind": "cost","link": "/x/Table/pet","view": {"type": "NumberChart","props": {"chartHeight": 150,"color": "red","prefix": "¥","decimals": 2,"nameKey": "date","valueKey": "value"}}}}
interface IProps {data: Array<any>type: 'bar' | 'line'nameKey?: stringvalueKey?: stringprefix?: stringunit?: stringdecimals?: numberchartHeight?: numbercolor?: string}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
nameKey | name key | string | - | no | |
valueKey | value key | string | - | no | |
prefix | prefix | string | - | no | |
unit | unit | string | - | no | |
decimals | decimal point | number | - | no | |
chartHeight | height | number | - | no | |
color | color | string | - | no |