Kendo.Mvc.UI.Fluent.ChartRangeBarLabelsBuilder

Defines the fluent interface for configuring the chart range bar labels.

Methods

From(System.Boolean)

Sets the from label visibility

Parameters

visible System.Boolean

Boolean parameter to configure the visibility

Example (ASPX)

<% Html.Kendo().Chart()
    .Name("Chart")
    .Series(series => series
        .RangeBar(m => m.WiFiFrom, m => m.WiFiTo)
        .Labels(labels => labels.From(true)
            );
        )
        .Render();
        %>

From(System.Action<Kendo.Mvc.UI.Fluent.ChartBarLabelsBuilder>)

Configures the from label

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartBarLabelsBuilder>

The from label configuration

Example (ASPX)

<% Html.Kendo().Chart()
    .Name("Chart")
    .Series(series => series
        .RangeBar(m => m.WiFiFrom, m => m.WiFiTo)
        .Labels(labels => labels.From(f => f.Visible(true))
            );
        )
        .Render();
        %>

To(System.Boolean)

Sets the to label visibility

Parameters

visible System.Boolean

Boolean parameter to configure the visibility

Example (ASPX)

<% Html.Kendo().Chart()
    .Name("Chart")
    .Series(series => series
        .RangeBar(m => m.WiFiFrom, m => m.WiFiTo)
        .Labels(labels => labels.To(true)
            );
        )
        .Render();
        %>

To(System.Action<Kendo.Mvc.UI.Fluent.ChartBarLabelsBuilder>)

Configures the to label

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartBarLabelsBuilder>

The to label configuration

Example (ASPX)

<% Html.Kendo().Chart()
    .Name("Chart")
    .Series(series => series
        .RangeBar(m => m.WiFiFrom, m => m.WiFiTo)
        .Labels(labels => labels.To(t => t.Visible(true))
            );
        )
        .Render();
        %>