BootstrapSparkline Class
Declaration
class BootstrapSparkline extends Control
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.
Methods
exportTo(
fileName: string,
format: string
): void
Name |
Type |
fileName |
string |
format |
string |
getDataSource Method
Declaration
getDataSource(): any
Returns
getInstance Method
Declaration
getInstance(): any
Returns
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
Returns
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
Returns
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
Returns
print Method
Declaration
print(): void
setDataSource(dataSource) Method
Declaration
setDataSource(
dataSource: any
): void
Parameters
setOptions(options) Method
Declaration
setOptions(
options: any
): void
Parameters