Hi Nilan,
I’m not really sure I understand your issue.
You can specify these axis settings with:
Code:<%= Html.JQChart().Chart()
.ID("jqChart")
.Width("500px")
.Height("300px")
.Axes(axis =>
{
axis.LinearAxis(Location.Bottom)
.Minimum(0)
.Maximum(100)
.Interval(10);
}
)
.Series(series =>
{
series.Spline()
.XValues(new double[] { 20, 30, 60 })
.YValues(new double[] { 50, 40, 60 });
})
.Render()%>
Quote:However, the issue I am having is that the data-points, do not line up with the X-Axis Settings.
Can you provide me a little more info about this? You want every data point to have label on the x-axis?
In this case you can change the interval to 5.
Best Regards,
Dragan Matek
jqChart Inc.