Skip to main content

BootstrapChart Class

Declaration

class BootstrapChart extends Control

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inheritance

Control
BootstrapChart

Methods

exportTo(format, fileName) Method

Declaration

exportTo(
    format: string,
    fileName: string
): void

Parameters

Name Type
format string
fileName string

getDataSource Method

Declaration

getDataSource(): any

Returns

Type
any

getInstance Method

Declaration

getInstance(): any

Returns

Type
any

off<K> Method

Declaration

off<K extends keyof BootstrapChartEventMap>(
    eventName?: K,
    callback?: (this: BootstrapChart,
    args?: BootstrapChartEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapChart, args?: BootstrapChartEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

on<K extends keyof BootstrapChartEventMap>(
    eventName: K,
    callback: (this: BootstrapChart,
    args?: BootstrapChartEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapChart, args?: BootstrapChartEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

once<K extends keyof BootstrapChartEventMap>(
    eventName: K,
    callback: (this: BootstrapChart,
    args?: BootstrapChartEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapChart, args?: BootstrapChartEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

print Method

Declaration

print(): void

setDataSource(dataSource) Method

Declaration

setDataSource(
    dataSource: any
): void

Parameters

Name Type
dataSource any

setOptions(options) Method

Declaration

setOptions(
    options: any
): void

Parameters

Name Type
options any