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

ChartSeriesLabelsToMarginSettingsBuilder

Methods

Bottom(System.Double)

The bottom margin of the to labels.

Parameters

value - System.Double

The value for Bottom

Example


            @(Html.Kendo().Chart()
                .Name("Chart")
                .Series(series => series
                    .RangeArea(
                        m => m.FromSales,
                        m => m.ToSales
                    )
                    .Labels(l => l
                        .To(t => t
                            .Margin(m => m
                                .Bottom(10)
                            )
                        )
                    )
                )
            )

Left(System.Double)

The left margin of the to labels.

Parameters

value - System.Double

The value for Left

Example


            @(Html.Kendo().Chart()
                .Name("Chart")
                .Series(series => series
                    .RangeArea(
                        m => m.FromSales,
                        m => m.ToSales
                    )
                    .Labels(l => l
                        .To(t => t
                            .Margin(m => m
                                .Left(10)
                            )
                        )
                    )
                )
            )

Right(System.Double)

The right margin of the to labels.

Parameters

value - System.Double

The value for Right

Example


            @(Html.Kendo().Chart()
                .Name("Chart")
                .Series(series => series
                    .RangeArea(
                        m => m.FromSales,
                        m => m.ToSales
                    )
                    .Labels(l => l
                        .To(t => t
                            .Margin(m => m
                                .Right(10)
                            )
                        )
                    )
                )
            )

Top(System.Double)

The top margin of the to labels.

Parameters

value - System.Double

The value for Top

Example


            @(Html.Kendo().Chart()
                .Name("Chart")
                .Series(series => series
                    .RangeArea(
                        m => m.FromSales,
                        m => m.ToSales
                    )
                    .Labels(l => l
                        .To(t => t
                            .Margin(m => m
                                .Top(10)
                            )
                        )
                    )
                )
            )

In this article
Not finding the help you need?