Bar 折柱混合图

折线柱状图组件,用来表示有指标与指标之间的关联趋势。

使用场景

  • PM2.5 和气温的关系。

  • 房价与人口的关系。

示例

Show Code

Props

export interface IProps {
name: string
height: number
x_key: string
vertical: boolean
textLength: number
textWrap: boolean
hide_label?: boolean
}

API

属性说明类型默认值必填版本
name数据 keystring-
height高度string-
x_key横坐标 keystring-
vertical是否纵向显示string-
textLength文字长度限制string-
textWrap文字超过长度是否换行string-
hide_label隐藏标题string-

更多属性见 Echarts LineBar

Bar 折柱混合图

折线柱状图组件,用来表示有指标与指标之间的关联趋势。

使用场景

  • PM2.5 和气温的关系。

  • 房价与人口的关系。

示例

Show Code

Props

export interface IProps {
name: string
height: number
x_key: string
vertical: boolean
textLength: number
textWrap: boolean
hide_label?: boolean
}

API

属性说明类型默认值必填版本
name数据 keystring-
height高度string-
x_key横坐标 keystring-
vertical是否纵向显示string-
textLength文字长度限制string-
textWrap文字超过长度是否换行string-
hide_label隐藏标题string-

更多属性见 Echarts LineBar