Edit this page

Kendo.Mvc.UI.Fluent.ChartNavigatorHintBuilder

Defines the fluent interface for configuring ChartNavigatorHint.

Methods

Format(System.String)

Sets the format.

Parameters

format System.String

The format.

Example (ASPX)

<%= Html.Kendo().StockChart(Model)
    .Name("Chart")
    .Navigator(nav => nav
        .Series(series =>
        {
            series.Bar(s => s.SalesAmount);
        })
        .Hint(hint => hint
            .Format("{0:d} | {1:d}")
        )
    )
%>

Template(System.String)

Sets the template

Parameters

template System.String

The template.

Example (ASPX)

<%= Html.Kendo().StockChart(Model)
    .Name("Chart")
    .Navigator(nav => nav
        .Series(series =>
        {
            series.Bar(s => s.SalesAmount);
        })
        .Hint(hint => hint
            .Template("From: #= from # To: #= to #")
        )
    )
%>

Visible(System.Boolean)

Sets the hint visibility.

Parameters

visible System.Boolean

The hint visibility.

Example (ASPX)

<%= Html.Kendo().StockChart(Model)
    .Name("Chart")
    .Navigator(nav => nav
        .Series(series =>
        {
            series.Bar(s => s.SalesAmount);
        })
        .Hint(hint => hint
            .Visible(false)
        )
    )
%>