Kendo.Mvc.UI.Fluent.StockChartNavigatorSettingsBuilder
Defines the fluent API for configuring StockChartNavigatorSettings
Methods
DataSource(System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyAjaxDataSourceBuilder<T>>)
Data Source configuration for the Navigator. When configured, the Navigator will filter the main StockChart data source to the selected range.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyAjaxDataSourceBuilder>
Use the configurator to set different data binding options.
Example (ASPX)
<%= Html.Kendo().StockChart()
.Name("Chart")
.Navigator(navi => navi
.DataSource(ds =>
{
ds.Ajax().Read(r => r.Action("SalesData", "Chart"));
})
)
%>
Select(System.Nullable<System.DateTime>,System.Nullable<System.DateTime>)
Sets the selection range
Parameters
from System.Nullable<System.DateTime>
The selection range start.
to System.Nullable<System.DateTime>
The selection range end.
Example (ASPX)
<%= Html.Kendo().StockChart(Model)
.Name("StockChart")
.Navigator(nav => nav.Select(DateTime.Today.AddMonths(-1), DateTime.Today))
%>
Series(System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesFactory<T>>)
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 type is assumed to be the one specified in seriesDefaults.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesFactory>
The configurator for the series setting.
CategoryAxis(System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorCategoryAxisSettingsBuilder<T>>)
The category axis configuration options.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorCategoryAxisSettingsBuilder>
The configurator for the categoryaxis setting.
AutoBind(System.Boolean)
Indicates whether the navigator will call read on the data source initially. Applicable only when using a dedicated navigator data source.
Parameters
value System.Boolean
The value for AutoBind
DateField(System.String)
The field containing the point date. It is used as a default field for the navigator axis.The data item field value must be either:
Parameters
value System.String
The value for DateField
Pane(System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorPaneSettingsBuilder<T>>)
The navigator pane configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorPaneSettingsBuilder>
The configurator for the pane setting.
Select(System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorSelectSettingsBuilder<T>>)
Specifies the initially selected range.The full range of values is shown if no range is specified.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorSelectSettingsBuilder>
The configurator for the select setting.
Hint(System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorHintSettingsBuilder<T>>)
Default options for the navigator hint.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.StockChartNavigatorHintSettingsBuilder>
The configurator for the hint setting.
Visible(System.Boolean)
The visibility of the navigator.
Parameters
value System.Boolean
The value for Visible