Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

Properties

title: string = 'Bar Chart'

Methods

  • createContext(col: INumbersColumn, context: IRenderContext, imposer?: IImposer): { clazz: string; render: (ctx: CanvasRenderingContext2D, data: number[], item: IDataRow) => void; templateRow: string; update: (row: HTMLElement, data: number[], raw: number[], item: IDataRow, tooltipPrefix?: string) => void }
  • Parameters

    Returns { clazz: string; render: (ctx: CanvasRenderingContext2D, data: number[], item: IDataRow) => void; templateRow: string; update: (row: HTMLElement, data: number[], raw: number[], item: IDataRow, tooltipPrefix?: string) => void }

    • clazz: string
    • render: (ctx: CanvasRenderingContext2D, data: number[], item: IDataRow) => void
        • (ctx: CanvasRenderingContext2D, data: number[], item: IDataRow): void
        • Parameters

          • ctx: CanvasRenderingContext2D
          • data: number[]
          • item: IDataRow

          Returns void

    • templateRow: string
    • update: (row: HTMLElement, data: number[], raw: number[], item: IDataRow, tooltipPrefix?: string) => void
        • (row: HTMLElement, data: number[], raw: number[], item: IDataRow, tooltipPrefix?: string): void
        • Parameters

          • row: HTMLElement
          • data: number[]
          • raw: number[]
          • item: IDataRow
          • Optional tooltipPrefix: string

          Returns void