2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
The Margin property in data label can be used to customize the space between the margins, left, right, top or bottom, of the shape and text in data label. The following code example illustrates this. CSHTML @(Html.EJ().Chart("container") .CommonSeriesOptions(options=> options.Marker(marker=> marker.DataLabel(label=> label.Visible(true) .Offset(20) .Fill("yellow") .Shape(ChartShape.Rectangle) .Margin(margin=> margin.Left(10) .Top(10) .Bottom(10) .Right(10))))) ) Screenshot:The following screenshot displays Chart with 10 pixel space between margins of the shape and text in data label. Figure 1: Chart with margin
|
2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.