Skip to main content
A newer version of this page is available. .

SparklineBuilder Members

A Sparkline control.

Constructors

Name Description
SparklineBuilder(OptionsOwnerContext) For internal use only. Initializes a new SparklineBuilder class instance.

Methods

Name Description
ArgumentField(JS) Mirrors the client-side argumentField option.
ArgumentField(String) Mirrors the client-side argumentField option.
BarNegativeColor(JS) Mirrors the client-side barNegativeColor option.
BarNegativeColor(String) Mirrors the client-side barNegativeColor option.
BarPositiveColor(JS) Mirrors the client-side barPositiveColor option.
BarPositiveColor(String) Mirrors the client-side barPositiveColor option.
DataSource(JS) Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds a Sparkline control to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds a Sparkline control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds a Sparkline control to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
Disabled(JS) Mirrors the client-side disabled option.
Disabled(Boolean) Mirrors the client-side disabled option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FirstLastColor(JS) Mirrors the client-side firstLastColor option.
FirstLastColor(String) Mirrors the client-side firstLastColor option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
IgnoreEmptyPoints(JS) Mirrors the client-side ignoreEmptyPoints option.
IgnoreEmptyPoints(Boolean) Mirrors the client-side ignoreEmptyPoints option.
LineColor(JS) Mirrors the client-side lineColor option.
LineColor(String) Mirrors the client-side lineColor option.
LineWidth(JS) Mirrors the client-side lineWidth option.
LineWidth(Double) Mirrors the client-side lineWidth option.
LossColor(JS) Mirrors the client-side lossColor option.
LossColor(String) Mirrors the client-side lossColor option.
Margin(Action<SparklineMarginBuilder>) Mirrors the client-side margin object.
MaxColor(JS) Mirrors the client-side maxColor option.
MaxColor(String) Mirrors the client-side maxColor option.
MaxValue(JS) Mirrors the client-side maxValue option.
MaxValue(Double) Mirrors the client-side maxValue option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MinColor(JS) Mirrors the client-side minColor option.
MinColor(String) Mirrors the client-side minColor option.
MinValue(JS) Mirrors the client-side minValue option.
MinValue(Double) Mirrors the client-side minValue option.
OnDisposing(RazorBlock) Mirrors the client-side onDisposing option.
OnDisposing(String) Mirrors the client-side onDisposing option.
OnDrawn(RazorBlock) Mirrors the client-side onDrawn option.
OnDrawn(String) Mirrors the client-side onDrawn option.
OnExported(RazorBlock) Mirrors the client-side onExported option.
OnExported(String) Mirrors the client-side onExported option.
OnExporting(RazorBlock) Mirrors the client-side onExporting option.
OnExporting(String) Mirrors the client-side onExporting option.
OnFileSaving(RazorBlock) Mirrors the client-side onFileSaving option.
OnFileSaving(String) Mirrors the client-side onFileSaving option.
OnIncidentOccurred(RazorBlock) Mirrors the client-side onIncidentOccurred option.
OnIncidentOccurred(String) Mirrors the client-side onIncidentOccurred option.
OnInitialized(RazorBlock) Mirrors the client-side onInitialized option.
OnInitialized(String) Mirrors the client-side onInitialized option.
OnOptionChanged(RazorBlock) Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) Mirrors the client-side onOptionChanged option.
OnTooltipHidden(RazorBlock) Mirrors the client-side onTooltipHidden option.
OnTooltipHidden(String) Mirrors the client-side onTooltipHidden option.
OnTooltipShown(RazorBlock) Mirrors the client-side onTooltipShown option.
OnTooltipShown(String) Mirrors the client-side onTooltipShown option.
Option(String, Object) Specifies an option by its name.
PathModified(JS) Mirrors the client-side pathModified option.
PathModified(Boolean) Mirrors the client-side pathModified option.
PointColor(JS) Mirrors the client-side pointColor option.
PointColor(String) Mirrors the client-side pointColor option.
PointSize(JS) Mirrors the client-side pointSize option.
PointSize(Double) Mirrors the client-side pointSize option.
PointSymbol(VizPointSymbol) Mirrors the client-side pointSymbol option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Mirrors the client-side rtlEnabled option.
ShowFirstLast(JS) Mirrors the client-side showFirstLast option.
ShowFirstLast(Boolean) Mirrors the client-side showFirstLast option.
ShowMinMax(JS) Mirrors the client-side showMinMax option.
ShowMinMax(Boolean) Mirrors the client-side showMinMax option.
Size(Action<SparklineSizeBuilder>) Mirrors the client-side size object.
Theme(VizTheme) Mirrors the client-side theme option.
Tooltip(Action<SparklineTooltipBuilder>) Mirrors the client-side tooltip object.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
Type(SparklineType) Mirrors the client-side type option.
ValueField(JS) Mirrors the client-side valueField option.
ValueField(String) Mirrors the client-side valueField option.
WinColor(JS) Mirrors the client-side winColor option.
WinColor(String) Mirrors the client-side winColor option.
WinlossThreshold(JS) Mirrors the client-side winlossThreshold option.
WinlossThreshold(Double) Mirrors the client-side winlossThreshold option.
See Also