The bar chart component used to represent data with data depth.
Average daily visits.
Dietary preferences.
{"state distribution": {"bind": "datasource_status","view": {"type": "Bar","props": {"height": 240,"nameKey": "status","axisLabel": { "interval": 0, "fontSize": 12 },"series": [{"valueKey": "count","type": "bar","colorBy": "data","itemStyle": { "borderRadius": 6 },"splitLine": { "show": false },"axisLabel": { "show": false }}]}}}}
export interface IProps {name: stringheight: numberx_key: stringvertical: booleantextLength: numbertextWrap: booleanhide_label?: boolean}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
name | data key | string | - | yes | |
height | height | string | - | yes | |
x_key | abscissa key | string | - | yes | |
vertical | whether to display vertically | string | - | no | |
textLength | text length limit | string | - | no | |
textWrap | Whether the text exceeds the length to wrap | string | - | No | |
hide_label | hide title | string | - | no |
For more properties, see Echarts Bar
The bar chart component used to represent data with data depth.
Average daily visits.
Dietary preferences.
{"state distribution": {"bind": "datasource_status","view": {"type": "Bar","props": {"height": 240,"nameKey": "status","axisLabel": { "interval": 0, "fontSize": 12 },"series": [{"valueKey": "count","type": "bar","colorBy": "data","itemStyle": { "borderRadius": 6 },"splitLine": { "show": false },"axisLabel": { "show": false }}]}}}}
export interface IProps {name: stringheight: numberx_key: stringvertical: booleantextLength: numbertextWrap: booleanhide_label?: boolean}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
name | data key | string | - | yes | |
height | height | string | - | yes | |
x_key | abscissa key | string | - | yes | |
vertical | whether to display vertically | string | - | no | |
textLength | text length limit | string | - | no | |
textWrap | Whether the text exceeds the length to wrap | string | - | No | |
hide_label | hide title | string | - | no |
For more properties, see Echarts Bar