Sparkline
Properties
SeriesData - IEnumerable
Type - Nullable
PointWidth - Nullable
SeriesDefaults - ChartSeriesDefaultsSettings
The Area series default settings.
DataSource - DataSource
The number of available pages.
DataSourceId - String
Data - IEnumerable
AutoBind - Nullable
AxisDefaults - ChartAxisDefaultsSettings
The background color of the axis.
CategoryAxis - List
ChartArea - ChartChartAreaSettings
The background color of the chart area. Accepts a valid CSS color string, including hex and rgb.
Legend - ChartLegendSettings
The background color of the legend. Accepts a valid CSS color string, including hex and rgb.
Messages - ChartMessagesSettings
Defines the text of the "no data" message that is rendered when no series are defined or all series are empty.
NoData - ChartNoDataSettings
The template which is rendered when no series are defined, or all series are empty.The message overlays the entire Chart with the exception of the Title and Subtitle.
PaneDefaults - ChartPaneDefaultsSettings
The background color of all chart panes. Accepts a valid CSS color string, including hex and rgb.
Panes - List
Pannable - ChartPannableSettings
Specifies the key that should be pressed to activate panning or zooming.
Pdf - ChartPdfSettings
The author of the PDF document.
PersistSeriesVisibility - Nullable
PlotArea - ChartPlotAreaSettings
The background color of the chart plot area. Accepts a valid CSS color string, including hex and rgb.
Series - List
SeriesColors - String[]
Subtitle - ChartSubtitleSettings
The alignment of the subtitle. "center" - the text is aligned to the middle.; "left" - the text is aligned to the left. or "right" - the text is aligned to the right.. By default, the subtitle has the same alignment as the title.
Theme - String
Title - ChartTitleSettings
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
Tooltip - ChartTooltipSettings
Specifies if the tooltip will be hidden when the mouse leaves the target element. If set to false, a Close button will be shown within tooltip.
Transitions - Nullable
ValueAxis - List
XAxis - List
YAxis - List
Zoomable - ChartZoomableSettings
Specifies if the chart can be zoomed using the mouse wheel.
RenderAs - Nullable
Events - IDictionary
Id - String
SanitezeId - Boolean
Writer - IJavaScriptWriter
Initializer - IJavaScriptInitializer
IsInClientTemplate - Boolean
IsSelfInitialized - Boolean
HasDeferredInitialization - Boolean
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
HtmlHelper - IHtmlHelper
ModelMetadataProvider - IModelMetadataProvider
Name - String
Explorer - ModelExplorer
Selector - String
IdPrefix - String
ViewContext - ViewContext
ValueProvider - IValueProvider
UrlGenerator - IUrlGenerator
HtmlEncoder - HtmlEncoder
HasClientComponent - Boolean
UseMvvmInitialization - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Parameters
writer - System.IO.TextWriter
Serialize()
Serializes Chart settings.
Render()
Renders the component.
ToClientTemplate()
ToHtmlString()
VerifySettings()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.