New to Telerik UI for ASP.NET MVC? Download free 30-day trial

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))
    )
)

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)))
    )
)

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))
    )
)

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)))
    )
)
In this article
Not finding the help you need?