Class BarAndLineController

Controller class for bar and line charts.

Hierarchy

Constructors

Properties

requiredConfigWithValue: {
    xAxisGridColumns: boolean;
} = ...

Type declaration

  • xAxisGridColumns: boolean
#lineChartController: LineController
#barChartController: BarController
axisController: XYHorVertAxisController
svgChart: SvgChart

Accessors

Methods

  • Returns HTML string to display when an item has received focus.

    Parameters

    • configSerie: ChartConfigSerie

      Config serie for which to display the value.

    • serieIndex: number

      Index of the serie.

    • dataIndex: number

      Index of the data.

    Returns string

    The HTML string to display.

  • Draws chart.

    Calls:

    Parameters

    • currentSerieGroupElement: SVGElement

      Group element where the chart can be appended to.

    Returns void

  • Do things at the end of the draw for this chart.

    Parameters

    • currentSerieGroupElement: SVGElement

      DOM group element.

    Returns void

Generated using TypeDoc