Skip to main content

kendoChart

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

The Kendo UI Chart uses modern browser technologies to render high-quality data visualizations.

public class kendoChart : kendoBase

Constructors​

Instance member kendoChart()​

Constructs a new instance of the kendoChart class.

Example:

The following example creates a column chart and configures it through the Options property.

var chart = new kendoChart();
chart.Options.title = new { text = "Monthly sales" };
chart.Options.categoryAxis = new { categories = new[] { "Jan", "Feb", "Mar" } };
chart.Options.series = new[]
{
new { type = "column", name = "2025", data = new[] { 120, 135, 98 } }
};
chart.Dock = DockStyle.Fill;
this.Controls.Add(chart);

Instance member kendoChart(options)​

Constructs a new instance of the kendoChart class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a line chart and binds it to an in-memory list.

var chart = new kendoChart(new
{
dataSource = sales,
legend = new { position = "bottom" },
series = new[]
{
new { type = "line", field = "total", categoryField = "month", name = "Total" }
}
});
chart.Dock = DockStyle.Fill;
this.Controls.Add(chart);

Implements​