Skip to main content

BootstrapSparkline Class

Declaration

class BootstrapSparkline 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
BootstrapSparkline

Methods

exportTo(fileName, format) Method

Declaration

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

Parameters

Name Type
fileName string
format 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 BootstrapSparklineEventMap>(
    eventName?: K,
    callback?: (this: BootstrapSparkline,
    args?: BootstrapSparklineEventMap[K]) => void
): this

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

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

Parameters

Name Type
eventName K
callback (this: BootstrapSparkline, args?: BootstrapSparklineEventMap[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