Category / Section
How to customize the axis line in chart?
Essential Chart supports customizing axis lines by using AxisLine property of Chart Axis. It contains properties to change axis line visibility, width, dash Array, and offset.
CSHTML
@(Html.EJ().Chart("container")
.PrimaryXAxis(axis => axis.AxisLine(line=>line.Visible(true).Width(2).DashArray("2,3")))
.PrimaryYAxis(axis => axis.AxisLine(line=>line.Visible(true).Width(2).DashArray("2,3")))
. . . . . .
. . . . . .
)
