Brush
父组件
Brush consumes context provided by these components:
子组件
Brush provides context for these components:
Properties
dataKeyString | Number | Function
指定展示的数据维度。
xNumber
x 坐标。
yNumber
y 坐标。
widthNumber
指定宽度。
heightNumber
指定高度。
默认值:
40travellerWidthNumber
游标的宽度。
默认值:
5gapNumberoptional
数据刷新间隔,如果没有指定,则取 1 ,每次刷新
默认值:
1startIndexNumberoptional
默认的起始序号,如果没有指定,则取 0 。
endIndexNumberoptional
默认的结束序号,如果没有指定,则取 data.length - 1。
tickFormatterFunctionoptional
刻度的格式化函数
onChangeFunctionoptional
起始序号或者结束序号改变时触发事件。