New to Kendo UI for Angular? Start a free 30-day trial

ChartOptions

A configuration object that groups all root-level Chart options.

NameTypeDefaultDescription

axisDefaults?

AxisDefaults

The default options for all Chart axes. Accepts the options which are supported by categoryAxis, valueAxis, xAxis, and yAxis.

categoryAxis?

CategoryAxis | CategoryAxis[]

The configuration options of the category axis.

chartArea?

ChartArea

The configuration options of the Chart area. Represents the entire visible area of the Chart.

legend?

Legend

The configuration options of the Chart legend.

paneDefaults?

PaneDefaults

The default options of all panes.

panes?

Pane[]

The configuration of the Chart panes. Panes are used to split the Chart into two or more parts. The panes are ordered from top to bottom. To associate each axis with a pane, set its pane option to the name of the desired pane. Axis that do not have a specified pane are placed in the top (default) pane. To move a series to the desired pane, associate them with an axis.

pannable?

boolean | DragAction

Specifies if the Chart can be panned.

plotArea?

PlotArea

The configuration options of the plot area. The plot area is the area which displays the series.

renderAs?

"svg" | "canvas"

Sets the preferred rendering engine. If not supported by the browser, the Chart switches to the first available mode.

The supported values are:

  • "svg"If available, renders the component as an inline .svg file.
  • "canvas"If available, renders the component as a canvas element.

series?

Series[]

The configuration of the Chart series. The series type is determined by the value of the type field. If a type value is missing, the Chart renders the type that is specified in seriesDefaults. Some options accept functions as arguments. These arguments are evaluated for each point which is supplied as a parameter. If no value is returned, the Chart uses the theme or seriesDefaults values.

seriesColors?

string[]

The default colors for the Chart series. When all colors are used, new colors are pulled from the start again.

seriesDefaults?

SeriesDefaults

The default options of all series.

title?

string | Title

The configuration options or the text of the Chart title.

tooltip?

Tooltip

The configuration options of the Chart series tooltips. The tooltip of the Chart series is displayed when the tooltip.visible option is set to true.

transitions?

boolean

If set to true, the Chart plays animations when it displays the series. By default, animations are enabled.

valueAxis?

ValueAxis | ValueAxis[]

The configuration options of the value axis.

xAxis?

XAxis | XAxis[]

The configuration options of the Scatter Chart X-axis. Supports all valueAxis options.

yAxis?

YAxis | YAxis[]

The configuration options of the Scatter Chart Y-axis. Supports all valueAxis options.

zoomable?

boolean | Zoomable

Specifies if the Chart can be zoomed.