Brush

Parent Components

Child Components

Properties

  • dataKeyString | Number | Function

    The key of data displayed in Brush.

  • xNumber

    The x-coordinate of brush.

    DEFAULT: 0

  • yNumber

    The y-coordinate of brush.

    DEFAULT: 0

  • widthNumber

    The width of brush.

    DEFAULT: 0

  • heightNumber

    The height of brush.

    DEFAULT: 40

  • dataArray

    The original data of a LineChart, a BarChart or an AreaChart.

  • travellerWidthNumber

    The width of each traveller.

    DEFAULT: 5

  • gapNumberoptional

    The data with gap of refreshing chart. If the option is not set, the chart will be refreshed every time

    DEFAULT: 1

  • startIndexNumberoptional

    The default start index of brush. If the option is not set, the start index will be 0.

  • endIndexNumberoptional

    The default end index of brush. If the option is not set, the end index will be calculated by the length of data.

  • tickFormatterFunctionoptional

    The formatter function of ticks.

  • onChangeFunctionoptional

    The handler of changing the active scope of brush.