# Chart

## Properties

### SeriesDefaults - [ChartSeriesDefaultsSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartseriesdefaultssettings)

The Area series default settings.

### DataSource - [DataSource](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/datasource)

Gets or sets the DataSource.

### DataSourceId - String

### Data - IEnumerable

### AutoBind - Nullable

### AxisDefaults - [ChartAxisDefaultsSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartaxisdefaultssettings)

The background color of the axis.

### CategoryAxis - List

### ChartArea - [ChartChartAreaSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartchartareasettings)

The background color of the chart area. Accepts a valid CSS color string, including hex and rgb.

### Legend - [ChartLegendSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartlegendsettings)

The background color of the legend. Accepts a valid CSS color string, including hex and rgb.

### Messages - [ChartMessagesSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartmessagessettings)

Defines the text of the "no data" message that is rendered when no series are defined or all series are empty.

### NoData - [ChartNoDataSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartpanedefaultssettings)

The background color of all chart panes. Accepts a valid CSS color string, including hex and rgb.

### Panes - List

### Pannable - [ChartPannableSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartpannablesettings)

Specifies the key that should be pressed to activate panning or zooming.

### Pdf - [ChartPdfSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartpdfsettings)

The author of the PDF document.

### PersistSeriesVisibility - Nullable

### PlotArea - [ChartPlotAreaSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/charttitlesettings)

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

### Tooltip - [ChartTooltipSettings](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/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)

Writes the Chart initialization script.

#### Parameters

##### writer - `System.IO.TextWriter`

The text writer instance.

### Serialize()

Serializes the component settings to a dictionary.

#### RETURNS

A dictionary of settings.

### Render()

Renders the component.

### ToClientTemplate()

ToClientTemplate method.

### ToHtmlString()

ToHtmlString method.

#### RETURNS

The result.

### VerifySettings()

VerifySettings method.

### WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

#### Parameters

##### writer - `System.IO.TextWriter`

The writer.

### DeferStyles()

DeferStyles method.

### ProcessSettings()

ProcessSettings method.

### GetHtml(System.Boolean)

GetHtml method.

#### Parameters

##### includeScript - `System.Boolean`

#### RETURNS

The result.

### GetInitializator()

GetInitializator method.

#### RETURNS

The result.

### WriteDeferredScriptInitialization()

WriteDeferredScriptInitialization method.
