Skip to content

Commit e06ab97

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent b0be2ef commit e06ab97

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2506
-164
lines changed

docs-aspnet-core/_config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ navigation:
7676
position: 1
7777
"html-helpers/data-management/grid":
7878
title: "Grid"
79+
"html-helpers/data-management/grid/features":
80+
title: "Features"
7981
"html-helpers/data-management/pivotgrid":
8082
title: "PivotGrid"
8183
"html-helpers/editors":
@@ -86,9 +88,12 @@ navigation:
8688
"html-helpers/charts":
8789
title: "Charts"
8890
position: 3
91+
"html-helpers/charts/chart-types":
92+
title: "Chart Types"
93+
position: 2
8994
"html-helpers/charts/treemap":
9095
title: "TreeMap"
91-
position: 2
96+
position: 3
9297
"html-helpers/gauges":
9398
title: "Gauges"
9499
position: 4
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: Area Charts
3+
page_title: Area Charts | Kendo UI Charts HtmlHelper for ASP.NET Core
4+
description: "Learn how to define Kendo UI Area Charts."
5+
slug: areacharts_aspnetcore_htmlhelper
6+
---
7+
8+
# Area Charts
9+
10+
The [Kendo UI Area Chart HtmlHelper for ASP.NET Core](https://demos.telerik.com/aspnet-core/area-charts/index) is suitable for displaying quantitative data by using continuous lines passing through points defined by the values of their items. The portion of the graph beneath the lines is filled with a particular color for each series. The different colors in an Area Chart are useful for emphasizing changes in values coming from several sets of similar data.
11+
12+
## Configuration
13+
14+
Use `Area` and `VerticalArea` to define the Kendo UI Area Charts.
15+
16+
### Axes
17+
18+
Axes are configured through `CategoryAxis` and `ValueAxis`. Multiple value axes are supported.
19+
20+
###### Example
21+
22+
@(Html.Kendo().Chart()
23+
.Name("chart")
24+
.Title("Internet Users")
25+
.Legend(legend => legend
26+
.Position(ChartLegendPosition.Bottom)
27+
)
28+
.SeriesDefaults(seriesDefaults =>
29+
seriesDefaults.Area()
30+
)
31+
.Series(series =>
32+
{
33+
series.Area(new double[] { 15.7, 16.7, 20, 23.5, 26.6 }).Name("World");
34+
series.Area(new double[] { 67.96, 68.93, 75, 74, 78 }).Name("United States");
35+
})
36+
.CategoryAxis(axis => axis
37+
.Categories(2005, 2006, 2007, 2008, 2009)
38+
)
39+
.ValueAxis(axis => axis
40+
.Labels(labels => labels.Format("{0}%"))
41+
)
42+
)
43+
44+
45+
This configuration results in the Area Chart below.
46+
47+
**Figure 1: A sample Area Chart**
48+
49+
![Area Chart](/html-helpers/charts/chart-types/chart-area.png)
50+
51+
### Line Styles
52+
53+
Kendo UI Area Charts support the rendering of lines between the points with different styles. The supported styles can be set via the [`line.style`](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/series.line#series.line.style) option and are:
54+
55+
* Normal—This is the default style. It produces a straight line between data points.
56+
* Step—The style renders the connection between data points through vertical and horizontal lines. It is suitable for indicating that the value is constant between the changes.
57+
* Smooth—This style causes the Area Chart to display a fitted curve through data points. It is suitable when the data requires to be displayed with a curve, or when you wish to connect the points with smooth instead of straight lines.
58+
59+
**Figure 2: A step-line Area Chart**
60+
61+
![Step Line Chart](/html-helpers/charts/chart-types/chart-step-area.png)
62+
63+
**Figure 3: A smooth-line Area Chart**
64+
65+
![Smooth Line Chart](/html-helpers/charts/chart-types/chart-smooth-area.png)
66+
67+
## See Also
68+
69+
Other articles on Kendo UI Charts and chart types:
70+
71+
* [Overview of the Kendo UI Chart Html Helper for ASP.NET Core ]({% slug htmlhelpers_charts_aspnetcore %})
72+
* [Bubble Charts]({% slug bubblecharts_aspnetcore_htmlhelper %})
73+
* [BoxPlot Charts]({% slug boxplotcharts_aspnetcore_htmlhelper %})
74+
* [Bar Charts]({% slug barcharts_aspnetcore_htmlhelper %})
75+
* [Pie Charts]({% slug piecharts_aspnetcore_htmlhelper %})
76+
* [Stock Charts]({% slug overview_stockcharthelper_aspnetcore %})
77+
* [TreeMap]({% slug overview_treemaphelper_aspnetcore %})
78+
* [Chart JavaScript API Reference](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart)
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: Bar Charts
3+
page_title: Bar Charts | Kendo UI Charts HtmlHelper for ASP.NET Core
4+
description: "Learn how to set the properties of Kendo UI Bar Charts HtmlHelper for ASP.NET Core."
5+
slug: barcharts_aspnetcore_htmlhelper
6+
---
7+
8+
# Bar Charts
9+
10+
The [Kendo UI Bar Chart HtmlHelper for ASP.NET Core](https://demos.telerik.com/aspnet-core/bar-charts/index) displays data via horizontal or vertical bars whose lengths vary according to their value. Bar Charts are suitable for displaying a comparison between several sets of data. For example, for showing a summary of unique and total site visitors over a certain period of time.
11+
12+
The [Kendo UI Bullet Chart HtmlHelper for ASP.NET Core](https://demos.telerik.com/aspnet-core/bullet-charts/index) is a variation of a Kendo UI Bar Chart. You can use it as a replacement for dashboard gauges and meters. The bullet graph compares a given quantitative measure, such as temperature, against qualitative ranges, such as warm, hot, mild, cool, chilly, cold, etc., and a symbol marker that encodes the comparative measure, such as the max temperature a year ago.
13+
14+
The [Kendo UI Range Bar Chart HtmlHelper for ASP.NET Core](https://demos.telerik.com/aspnet-core/range-bar-charts/index) is yet another variation of the Kendo UI Bar Chart. It displays data as bars where each bar represents a value range that spans between its minimum and maximum levels. A Range Bar type has floating bars unlike the standard Kendo UI Bar Chart that has anchored bars to its `x`-axis.
15+
16+
## Configuration
17+
18+
### Column Chart
19+
20+
The [Kendo UI Column Chart for ASP.NET Core](https://demos.telerik.com/aspnet-core/bar-charts/column) is rendered when the `Series` is `Column`.
21+
22+
###### Example
23+
24+
@(Html.Kendo().Chart()
25+
.Name("chart")
26+
.Title("Kendo Chart Example")
27+
.Legend(legend => legend
28+
.Position(ChartLegendPosition.Bottom)
29+
)
30+
.Series(series =>
31+
{
32+
series.Column(new double[] { 200, 450, 300, 125 }).Name("Example Series");
33+
})
34+
.CategoryAxis(axis => axis
35+
.Categories(2000, 2001, 2002, 2003)
36+
)
37+
)
38+
39+
40+
**Figure 1: A sample Column Chart with categories**
41+
42+
![Column Chart with categories](/html-helpers/charts/chart-types/chart-column-categories.png)
43+
44+
### Bar Chart
45+
46+
Setting the `Series` object to `"Bar"` renders horizontal bars, as demonstrated in the example below.
47+
48+
###### Example
49+
50+
@(Html.Kendo().Chart()
51+
.Name("chart")
52+
.Title("Kendo Chart Example")
53+
.Legend(legend => legend
54+
.Position(ChartLegendPosition.Bottom)
55+
)
56+
.Series(series =>
57+
{
58+
series.Bar(new double[] { 200, 450, 300, 125 }).Name("Example Series");
59+
})
60+
.CategoryAxis(axis => axis
61+
.Categories(2000, 2001, 2002, 2003)
62+
)
63+
)
64+
65+
**Figure 2: A sample Bar Chart**
66+
67+
![Bar Chart](/html-helpers/charts/chart-types/chart-bar.png)
68+
69+
## See Also
70+
71+
Other articles on Kendo UI Charts and chart types:
72+
73+
* [Overview of the Kendo UI Chart Html Helper for ASP.NET Core ]({% slug htmlhelpers_charts_aspnetcore %})
74+
* [Area Charts]({% slug areacharts_aspnetcore_htmlhelper %})
75+
* [Bubble Charts]({% slug bubblecharts_aspnetcore_htmlhelper %})
76+
* [BoxPlot Charts]({% slug boxplotcharts_aspnetcore_htmlhelper %})
77+
* [Pie Charts]({% slug piecharts_aspnetcore_htmlhelper %})
78+
* [Stock Charts]({% slug overview_stockcharthelper_aspnetcore %})
79+
* [TreeMap]({% slug overview_treemaphelper_aspnetcore %})
80+
* [Chart JavaScript API Reference](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart)
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
title: Box Plot Charts
3+
page_title: Box Plot Charts | Kendo UI Charts HtmlHelper for ASP.NET Core
4+
description: "Learn how to create a Kendo UI Box Plot Chart for ASP.NET Core and configure its options."
5+
slug: boxplotcharts_aspnetcore_htmlhelper
6+
---
7+
8+
# Box Plot Charts
9+
10+
The [Kendo UI Box Plot Chart HtmlHelper for ASP.NET Core](https://demos.telerik.com/aspnet-core/box-plot-charts/index) is useful for displaying variation in statistical samples of data. The Box Plot Chart uses seven values—first and third quartile (q1 and q3), median (that is the second quartile), upper and lower value (inner fences), mean and outliers. The advantage of this type of series is that it displays detailed information about a set of data in a small space.
11+
12+
If you are not familiar with the usage and terminology of the box plots and want to understand it better, check the [Wikipedia page on box plots](https://en.wikipedia.org/wiki/Box_plot).
13+
14+
## Configuration
15+
16+
Use the `BoxPlot` series type to create a Kendo UI Box Plot Chart.
17+
18+
When binding the Box Plot Chart, there are seven special properties of the `Series` object that you should set in order to display the chart successfully—`q1` (first quartile), `q3Field` (third quartile), `lower`, `upper`, `median` (second quartile), `mean`, `outliers`. The first five are required, while `mean` and `outliers` are optional. All properties have to point to numeric fields in the DataSource, with the exception of `outliers` which has to point to a field that contains an array of numbers. The example below shows the result of such a configuration
19+
20+
###### Example
21+
22+
@(Html.Kendo().Chart()
23+
.Name("chart")
24+
.Title("Monthly Mean Temperatures (°F)")
25+
.Legend(legend => legend.Visible(false))
26+
.Series(series => series
27+
.BoxPlot(new System.Collections.ArrayList() {
28+
new { lower= 26.2, q1= 38.3 , median= 51.0, q3= 61.45, upper= 68.9, mean= 49.0, outliers= new [] {18.3, 20, 70, 72, 5}} ,
29+
new { lower= 26.4, q1= 38.125, median= 46.8 , q3= 60.425, upper= 66.8, mean= 47.3, outliers= new [] {18, 69, 71.3, 71.5}},
30+
new { lower= 31.6, q1= 41.725, median= 52.35, q3= 62.175, upper= 70.8, mean= 52.3, outliers= new [] {14, 16.4, 74}},
31+
new { lower= 34.4, q1= 39.375, median= 49.9 , q3= 61.425, upper= 69.2, mean= 50.3, outliers= new [] {16, 18, 72, 72.5}} ,
32+
new { lower= 29.9, q1= 38.35, median= 50.4, q3= 60.875, upper= 69.7, mean= 49.9, outliers= new [] {19, 20, 76, 78}},
33+
new { lower= 22.3, q1= 36.875, median= 48.9 , q3= 62.65 , upper= 70.3, mean= 49.0, outliers= new [] {16.5, 17, 74, 75, 78}},
34+
new { lower= 32.3, q1= 39.5, median= 54.1, q3= 61.175, upper= 67.3, mean= 50.8, outliers= new [] {13, 14, 15, 74.3, 75.2, 76}},
35+
new { lower= 28.5, q1= 36.075, median= 50.5 , q3= 64.2, upper= 70.4, mean= 49.6, outliers= new [] {18, 22, 73.4, 75}},
36+
new { lower= 33.6, q1= 40.65, median= 49.55, q3= 62.8, upper= 69.2, mean= 51.1, outliers= new [] {17, 73}},
37+
new { lower= 33.6, q1= 38.6, median= 47.9, q3= 60.825, upper= 67.0, mean= 49.7, outliers= new [] {12, 13.5, 16, 73, 74.6, 77}},
38+
new { lower= 31.9, q1= 36.425, median= 49.3, q3= 61.825, upper= 69.7, mean= 49.4, outliers= new [] {17, 76}},
39+
new { lower= 34.0, q1= 41.225, median= 51.15, q3= 62.4, upper= 68.8, mean= 51.6, outliers= new [] {14.6, 17.3, 72.3, 74}}
40+
})
41+
)
42+
.CategoryAxis(categoryAxis => categoryAxis
43+
.Categories(new string[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" })
44+
.MajorGridLines(majorGridLines => majorGridLines.Visible(false))
45+
)
46+
)
47+
48+
### Orientation
49+
50+
The Box Plot Chart orientation can be changed by setting the series type to `VerticalBoxPlot`.
51+
52+
###### Example
53+
54+
@(Html.Kendo().Chart()
55+
.Name("chart")
56+
.Title("Monthly Mean Temperatures (°F)")
57+
.Legend(legend => legend.Visible(false))
58+
.Series(series => series
59+
.VerticalBoxPlot(new System.Collections.ArrayList() {
60+
new { lower= 26.2, q1= 38.3 , median= 51.0, q3= 61.45, upper= 68.9, mean= 49.0, outliers= new [] {18.3, 20, 70, 72, 5}},
61+
new { lower= 26.4, q1= 38.125, median= 46.8 , q3= 60.425, upper= 66.8, mean= 47.3, outliers= new [] {18, 69, 71.3, 71.5}},
62+
new { lower= 31.6, q1= 41.725, median= 52.35, q3= 62.175, upper= 70.8, mean= 52.3, outliers= new [] {14, 16.4, 74}},
63+
new { lower= 34.4, q1= 39.375, median= 49.9 , q3= 61.425, upper= 69.2, mean= 50.3, outliers= new [] {16, 18, 72, 72.5}},
64+
new { lower= 29.9, q1= 38.35, median= 50.4, q3= 60.875, upper= 69.7, mean= 49.9, outliers= new [] {19, 20, 76, 78}},
65+
new { lower= 22.3, q1= 36.875, median= 48.9 , q3= 62.65 , upper= 70.3, mean= 49.0, outliers= new [] {16.5, 17, 74, 75, 78}},
66+
new { lower= 32.3, q1= 39.5, median= 54.1, q3= 61.175, upper= 67.3, mean= 50.8, outliers= new [] {13, 14, 15, 74.3, 75.2, 76}},
67+
new { lower= 28.5, q1= 36.075, median= 50.5 , q3= 64.2, upper= 70.4, mean= 49.6, outliers= new [] {18, 22, 73.4, 75}},
68+
new { lower= 33.6, q1= 40.65, median= 49.55, q3= 62.8, upper= 69.2, mean= 51.1, outliers= new [] {17, 73}},
69+
new { lower= 33.6, q1= 38.6, median= 47.9, q3= 60.825, upper= 67.0, mean= 49.7, outliers= new [] {12, 13.5, 16, 73, 74.6, 77}},
70+
new { lower= 31.9, q1= 36.425, median= 49.3, q3= 61.825, upper= 69.7, mean= 49.4, outliers= new [] {17, 76}},
71+
new { lower= 34.0, q1= 41.225, median= 51.15, q3= 62.4, upper= 68.8, mean= 51.6, outliers= new [] {14.6, 17.3, 72.3, 74}}
72+
})
73+
)
74+
.CategoryAxis(categoryAxis => categoryAxis
75+
.Categories(new string[] { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" })
76+
.MajorGridLines(majorGridLines => majorGridLines.Visible(false))
77+
)
78+
)
79+
80+
### Customizing Outliers
81+
82+
Outliers are values that appear outside of the range closed by the lower and upper values (inner fences). There are two types of outliers in a box plot based on their distance from the inner fences—mild and extreme. The Box Plot Chart renders them by default as crosses (mild) and circles (extreme). To let you configure them separately, the Chart has two configuration options—[`series.outliers`](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/series.outliers) for mild outliers and [`series.extremes`](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/series.extremes) for extreme outliers. You can use them to customize the outliers.
83+
84+
## See Also
85+
86+
Other articles on Kendo UI Charts and chart types:
87+
88+
* [Overview of the Kendo UI Chart Html Helper for ASP.NET Core ]({% slug htmlhelpers_charts_aspnetcore %})
89+
* [Area Charts]({% slug areacharts_aspnetcore_htmlhelper %})
90+
* [Bubble Charts]({% slug bubblecharts_aspnetcore_htmlhelper %})
91+
* [Bar Charts]({% slug barcharts_aspnetcore_htmlhelper %})
92+
* [Pie Charts]({% slug piecharts_aspnetcore_htmlhelper %})
93+
* [Stock Charts]({% slug overview_stockcharthelper_aspnetcore %})
94+
* [TreeMap]({% slug overview_treemaphelper_aspnetcore %})
95+
* [Chart JavaScript API Reference](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart)
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Bubble Charts
3+
page_title: Bubble Charts | Kendo UI Charts HtmlHelpers for ASP.NET Core
4+
description: "Learn how to create a Kendo UI Bubble Chart for ASP.NET Core to visualize data points and how to set its properties."
5+
slug: bubblecharts_aspnetcore_htmlhelper
6+
---
7+
8+
# Bubble Charts
9+
10+
The [Kendo UI Bubble Chart HtmlHelper](https://demos.telerik.com/aspnet-core/bubble-charts/index) displays data as points with coordinates and sizes defined by the value of their items. It is similar to the [Kendo UI Scatter Charts HtmlHelper](https://demos.telerik.com/aspnet-core/scatter-charts/index), in which the data points are replaced with bubbles. This allows a Bubble Chart to display three-dimensional data—two values for the items' coordinates and one for their size. A Bubble Chart is useful for visualizing different scientific relationships, e.g. economic or social. The X-axis of the Bubble Charts is numerical and does not require items.
11+
12+
## Basic Usage
13+
14+
### Suitability
15+
16+
Kendo UI Bubble Charts are well suited for displaying dozens to hundreds of values. They come in handy especially when you wish to visualize size values, differing by several orders of magnitude. As the size value is represented by a circle area, it is a best practice to plot positive values.
17+
18+
### Negative Values
19+
20+
By default, negative values are not displayed. Yet, if you wish to show these, their area is going to be calculated as if their value was positive. The point label displays their actual value and they are also going to have a different color. This behavior is controlled by using the `negativeValues.visible` and `negativeValues.color` options that are applicable to each series.
21+
22+
## Getting Started
23+
24+
### Create the Bubble Chart
25+
26+
The example below visualizes several data points.
27+
28+
###### Example
29+
30+
@(Html.Kendo().Chart()
31+
.Name("chart")
32+
.Series(series =>
33+
{
34+
series.Bubble(new dynamic[] {
35+
new {
36+
x = 10,
37+
y = 12000,
38+
size = 0.1
39+
}, new {
40+
x = 24,
41+
y = 62000,
42+
size = 0.25
43+
}
44+
}).Name("Sales");
45+
})
46+
)
47+
48+
**Figure 1: A sample Bubble Chart**
49+
50+
![Bubble Chart](/html-helpers/charts/chart-types/chart-bubble.png)
51+
52+
## See Also
53+
54+
Other articles on Kendo UI Charts and chart types:
55+
56+
* [Overview of the Kendo UI Chart Html Helper for ASP.NET Core ]({% slug htmlhelpers_charts_aspnetcore %})
57+
* [Area Charts]({% slug areacharts_aspnetcore_htmlhelper %})
58+
* [BoxPlot Charts]({% slug boxplotcharts_aspnetcore_htmlhelper %})
59+
* [Bar Charts]({% slug barcharts_aspnetcore_htmlhelper %})
60+
* [Pie Charts]({% slug piecharts_aspnetcore_htmlhelper %})
61+
* [Stock Charts]({% slug overview_stockcharthelper_aspnetcore %})
62+
* [TreeMap]({% slug overview_treemaphelper_aspnetcore %})
63+
* [Chart JavaScript API Reference](https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart)
10.9 KB
Loading
12 KB
Loading
4.59 KB
Loading
22.8 KB
Loading
13.2 KB
Loading

0 commit comments

Comments
 (0)