Skip to content

Commit 00f8912

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 758fc12 commit 00f8912

File tree

13 files changed

+325
-17
lines changed

13 files changed

+325
-17
lines changed

docs-aspnet/_config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ exclude_navigation: ["knowledge-base/*",
8383
api/Kendo.Mvc/*,
8484
api/Kendo.Mvc.UI/*,
8585
api/Kendo.Mvc.UI.Fluent/*,
86-
api/Kendo.Mvc.TagHelpers/*,
8786
getting-started-core/*]
8887

8988
navigation:
@@ -368,7 +367,7 @@ navigation:
368367
title: "Appbar"
369368
"html-helpers/navigation/bottomnavigation":
370369
title: "BottomNavigation"
371-
isNew: true
370+
isNew: true
372371
"html-helpers/navigation/breadcrumb":
373372
title: "Breadcrumb"
374373
"html-helpers/navigation/floatingactionbutton":
@@ -688,10 +687,10 @@ navigation:
688687
baseurl: /aspnet-core
689688

690689
## The Kendo UI version used
691-
cdnVersion: "2023.1.117"
690+
cdnVersion: "2023.1.314"
692691

693692
## The MVC Core version used
694-
mvcCoreVersion: "2023.1.117"
693+
mvcCoreVersion: "2023.1.314"
695694

696695
ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs
697696

docs-aspnet/html-helpers/charts/stockchart/data-binding.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,41 @@ The following example demonstrates a StockChart in a single data-source binding
5151
)
5252
)
5353
```
54+
{% if site.core %}
55+
```TagHelper
56+
<kendo-stockchart name="stockChartTag"
57+
date-field="Date">
58+
<chart-title text=" The Boeing Company \n (NYSE:BA)"></chart-title>
59+
<datasource>
60+
<transport>
61+
<read url="@Url.Action("_BoeingStockData", "Financial")"/>
62+
</transport>
63+
<schema>
64+
<model>
65+
<fields>
66+
<field name="Date" type="date"></field>
67+
<field name="Close" type="number"></field>
68+
<field name="Volume" type="number"></field>
69+
<field name="Open" type="number"></field>
70+
<field name="High" type="number"></field>
71+
<field name="Low" type="number"></field>
72+
<field name="Symbol" type="string"></field>
73+
</fields>
74+
</model>
75+
</schema>
76+
</datasource>
77+
<series>
78+
<series-item type="ChartSeriesType.Candlestick" open-field="Open" high-field="High" low-field="Low" close-field="Close"></series-item>
79+
</series>
80+
<navigator>
81+
<navigator-series>
82+
<series-item type="ChartSeriesType.Area" field="Close"></series-item>
83+
</navigator-series>
84+
<select from="new DateTime(2009,02,05)" to="new DateTime(2011,10,07)"></select>
85+
</navigator>
86+
</kendo-stockchart>
87+
```
88+
{% endif %}
5489

5590
## Master and Navigator Data-Source Mode
5691

@@ -98,6 +133,46 @@ The following example demonstrates a StockChart in the master and navigator data
98133
)
99134
)
100135
```
136+
{% if site.core %}
137+
```TagHelper
138+
<kendo-stockchart name="stockChart"
139+
date-field="Date">
140+
<chart-title text="The ACME Company"></chart-title>
141+
<datasource type="DataSourceTagHelperType.Ajax">
142+
<transport>
143+
<read url="@Url.Action("_StockData", "Financial")" />
144+
</transport>
145+
<schema>
146+
<model>
147+
<fields>
148+
<field name="Date" type="date"></field>
149+
<field name="Close" type="number"></field>
150+
<field name="Volume" type="number"></field>
151+
<field name="Open" type="number"></field>
152+
<field name="High" type="number"></field>
153+
<field name="Low" type="number"></field>
154+
<field name="Symbol" type="string"></field>
155+
</fields>
156+
</model>
157+
</schema>
158+
</datasource>
159+
<navigator>
160+
<datasource type="DataSourceTagHelperType.Ajax">
161+
<transport>
162+
<read url="@Url.Action("_StockData", "Financial")" />
163+
</transport>
164+
</datasource>
165+
<navigator-series>
166+
<series-item type="ChartSeriesType.Area" field="High"></series-item>
167+
</navigator-series>
168+
<select from="new DateTime(2017,02,05)" to="new DateTime(2019,10,07)"></select>
169+
</navigator>
170+
<series>
171+
<series-item type="ChartSeriesType.Candlestick" open-field="Open" high-field="High" low-field="Low" close-field="Close"></series-item>
172+
</series>
173+
</kendo-stockchart>
174+
```
175+
{% endif %}
101176

102177
The following example demonstrates a sample filter submitted by the StockChart for the main data source. The `filter` field is always `Date` regardless of the `DateField` setting.
103178

docs-aspnet/html-helpers/charts/stockchart/navigator.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,56 @@ The following example demonstrates how to define a ButtonGroup in the ToolBar co
4040
)
4141
)
4242
```
43+
{% if site.core %}
44+
```TagHelper
45+
<kendo-stockchart name="stockChart"
46+
date-field="Date">
47+
<chart-title text="The Boeing Company (NYSE:BA)"></chart-title>
48+
<datasource custom-type="aspnetmvc-ajax"
49+
server-paging="true"
50+
server-filtering="true"
51+
server-grouping="true">
52+
<transport>
53+
<read url="@Url.Action("_BoeingStockData", "Financial")" />
54+
</transport>
55+
<schema>
56+
<model>
57+
<fields>
58+
<field name="Date" type="date"></field>
59+
<field name="Close" type="number"></field>
60+
<field name="Volume" type="number"></field>
61+
<field name="Open" type="number"></field>
62+
<field name="High" type="number"></field>
63+
<field name="Low" type="number"></field>
64+
<field name="Symbol" type="string"></field>
65+
</fields>
66+
</model>
67+
</schema>
68+
</datasource>
69+
<category-axis>
70+
<category-axis-item pane="volumePane"></category-axis-item>
71+
</category-axis>
72+
<value-axis>
73+
<value-axis-item type="numeric">
74+
<line visible="false"/>
75+
</value-axis-item>
76+
<value-axis-item type="numeric" name="volumeAxis" pane="volumePane" visible="false"></value-axis-item>
77+
</value-axis>
78+
<navigator>
79+
<navigator-series>
80+
<series-item type="ChartSeriesType.Area" field="Close"></series-item>
81+
</navigator-series>
82+
<select from="new DateTime(2009,02,05)" to="new DateTime(2011,10,07)"></select>
83+
</navigator>
84+
<series>
85+
<series-item type="ChartSeriesType.Candlestick" open-field="Open" high-field="High" low-field="Low" close-field="Close"></series-item>
86+
<series-item type="ChartSeriesType.Column" axis="volumeAxis" field="Volume">
87+
<tooltip format="{0:C0}"></tooltip>
88+
</series-item>
89+
</series>
90+
</kendo-stockchart>
91+
```
92+
{% endif %}
4393

4494

4595
## See Also

docs-aspnet/html-helpers/charts/stockchart/overview.md

Lines changed: 92 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,35 @@ The UI for ASP.NET StockChart makes Ajax requests when it is bound to a data sou
5151
.DateField("Date")
5252
)
5353
```
54+
{% if site.core %}
55+
```TagHelper
56+
<kendo-stockchart name="stockChart"
57+
date-field="Date">
58+
<chart-title text=" The Boeing Company (NYSE:BA)"></chart-title>
59+
<datasource custom-type="aspnetmvc-ajax"
60+
server-paging="true"
61+
server-filtering="true"
62+
server-grouping="true">
63+
<transport>
64+
<read url="@Url.Action("_BoeingStockData", "Financial")"/>
65+
</transport>
66+
<schema>
67+
<model>
68+
<fields>
69+
<field name="Date" type="date"></field>
70+
<field name="Close" type="number"></field>
71+
<field name="Volume" type="number"></field>
72+
<field name="Open" type="number"></field>
73+
<field name="High" type="number"></field>
74+
<field name="Low" type="number"></field>
75+
<field name="Symbol" type="string"></field>
76+
</fields>
77+
</model>
78+
</schema>
79+
</datasource>
80+
</kendo-stockchart>
81+
```
82+
{% endif %}
5483
```Model
5584
public class StockDataPoint
5685
{
@@ -109,7 +138,7 @@ The UI for ASP.NET StockChart makes Ajax requests when it is bound to a data sou
109138
.Action("_BoeingStockData", "Home")
110139
))
111140
.DateField("Date")
112-
.Series(series => {
141+
.Series(series => {
113142
series.Candlestick(s => s.Open, s => s.High, s => s.Low, s => s.Close);
114143
})
115144
.Navigator(nav => nav
@@ -119,6 +148,44 @@ The UI for ASP.NET StockChart makes Ajax requests when it is bound to a data sou
119148
)
120149
)
121150
```
151+
{% if site.core %}
152+
```TagHelper
153+
<kendo-stockchart name="stockChart"
154+
date-field="Date">
155+
<chart-title text=" The Boeing Company (NYSE:BA)"></chart-title>
156+
<datasource custom-type="aspnetmvc-ajax"
157+
server-paging="true"
158+
server-filtering="true"
159+
server-grouping="true">
160+
<transport>
161+
<read url="@Url.Action("_BoeingStockData", "Financial")"/>
162+
</transport>
163+
<schema>
164+
<model>
165+
<fields>
166+
<field name="Date" type="date"></field>
167+
<field name="Close" type="number"></field>
168+
<field name="Volume" type="number"></field>
169+
<field name="Open" type="number"></field>
170+
<field name="High" type="number"></field>
171+
<field name="Low" type="number"></field>
172+
<field name="Symbol" type="string"></field>
173+
</fields>
174+
</model>
175+
</schema>
176+
</datasource>
177+
<series>
178+
<series-item type="ChartSeriesType.Candlestick" open-field="Open" high-field="High" low-field="Low" close-field="Close"></series-item>
179+
</series>
180+
<navigator>
181+
<navigator-series>
182+
<series-item type="ChartSeriesType.Line" field="Volume"></series-item>
183+
</navigator-series>
184+
<select from="new DateTime(2009,02,05)" to="new DateTime(2011,10,07)"></select>
185+
</navigator>
186+
</kendo-stockchart>
187+
```
188+
{% endif %}
122189
123190
## Functionality and Features
124191
@@ -139,7 +206,8 @@ The following example demonstrates how to subscribe to events by a handler name.
139206
.DateField("Date")
140207
.Series(series => {
141208
series.Candlestick(s => s.Open, s => s.High, s => s.Low, s => s.Close);
142-
}){% if site.core %}
209+
})
210+
{% if site.core %}
143211
.Events((Action<Kendo.Mvc.UI.Fluent.StockChartEventBuilder>)(x =>
144212
x.DataBound("stockChart_dataBound")
145213
.SeriesClick("stockChart_seriesClick")
@@ -162,6 +230,28 @@ The following example demonstrates how to subscribe to events by a handler name.
162230
}
163231
</script>
164232
```
233+
{% if site.core %}
234+
```TagHelper
235+
<kendo-stockchart name="stockChart"
236+
date-field="Date"
237+
on-data-bound="stockChart_dataBound"
238+
on-series-click="stockChart_seriesClick">
239+
<chart-title text=" The Boeing Company (NYSE:BA)"></chart-title>
240+
<series>
241+
<series-item type="ChartSeriesType.Candlestick" open-field="Open" high-field="High" low-field="Low" close-field="Close"></series-item>
242+
</series>
243+
</kendo-stockchart>
244+
<script>
245+
function stockChart_dataBound(e) {
246+
// Handle the dataBound event.
247+
}
248+
249+
function stockChart_seriesClick(e) {
250+
// Handle the seriesClick event.
251+
}
252+
</script>
253+
```
254+
{% endif %}
165255

166256
### Handling Events by Template Delegate
167257

docs-aspnet/html-helpers/scheduling/scheduler/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Events
33
page_title: Events
44
description: "Learn how to handle the events of the Telerik UI Scheduler component for {{ site.framework }}."
55
slug: scheduler_events
6-
position: 8
6+
position: 4
77
---
88

99
# Events

docs-aspnet/html-helpers/scheduling/scheduler/getting-started-scheduler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,5 +354,5 @@ You can continue experimenting with the code sample above by running it in the T
354354

355355
* [Using the API of the Scheduler for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/scheduler/api)
356356
* [Client-Side API of the Scheduler](https://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler)
357-
* [Server-Side API of the Scheduler](/api/grid)
357+
* [Server-Side API of the Scheduler](/api/scheduler)
358358
* [Knowledge Base Section](/knowledge-base)

docs-aspnet/html-helpers/scheduling/scheduler/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ page_title: Overview
44
description: "Learn the basics when working with the Telerik UI Scheduler component for {{ site.framework }}."
55
previous_url: /helpers/html-helpers/scheduler, /helpers/scheduling/scheduler/overview
66
slug: htmlhelpers_scheduler_aspnetcore
7-
position: 1
7+
position: 0
88
---
99

1010
# {{ site.framework }} Scheduler Overview

0 commit comments

Comments
 (0)