Skip to main content

BootstrapSparkline Class

#Declaration

TypeScript
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

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

#Parameters

Name Type
fileName string
format string

#getDataSource Method

#Declaration

TypeScript
getDataSource(): any

#Returns

Type
any

#getInstance Method

#Declaration

TypeScript
getInstance(): any

#Returns

Type
any

#off<K> Method

#Declaration

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
print(): void

#setDataSource(dataSource) Method

#Declaration

TypeScript
setDataSource(
    dataSource: any
): void

#Parameters

Name Type
dataSource any

#setOptions(options) Method

#Declaration

TypeScript
setOptions(
    options: any
): void

#Parameters

Name Type
options any