StockChartNavigatorSettingsBuilder
Methods
DataSource(System.Action)
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<ReadOnlyAjaxDataSourceBuilder>
Use the configurator to set different data binding options.
Example
@( Html.Kendo().StockChart()
.Name("Chart")
.Navigator(navi => navi
.DataSource(ds =>
{
ds.Ajax().Read(r => r.Action("SalesData", "Chart"));
})
)
)
Select(System.Nullable,System.Nullable)
Sets the selection range
Parameters
from - System.Nullable<DateTime>
The selection range start.
to - System.Nullable<DateTime>
The selection range end.
Example
@( Html.Kendo().StockChart(Model)
.Name("StockChart")
.Navigator(nav => nav.Select(DateTime.Today.AddMonths(-1), DateTime.Today))
)
Series(System.Action)
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<ChartSeriesFactory>
The configurator for the series setting.
CategoryAxis(System.Action)
The category axis configuration options.
Parameters
configurator - System.Action<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)
The navigator pane configuration.
Parameters
configurator - System.Action<StockChartNavigatorPaneSettingsBuilder>
The configurator for the pane setting.
Select(System.Action)
Specifies the initially selected range.The full range of values is shown if no range is specified.
Parameters
configurator - System.Action<StockChartNavigatorSelectSettingsBuilder>
The configurator for the select setting.
Hint(System.Action)
Default options for the navigator hint.
Parameters
configurator - System.Action<StockChartNavigatorHintSettingsBuilder>
The configurator for the hint setting.
Visible(System.Boolean)
The visibility of the navigator.
Parameters
value - System.Boolean
The value for Visible
Position(Kendo.Mvc.UI.ChartNavigatorPosition)
Specifies the navigator position.
Parameters
value - ChartNavigatorPosition
The value for Position