Articles in this section
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")))
    . . . . . .
    . . . . . . 
)

 

Customizing axis lines by using AxisLine property

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied