Hi,
As a part of a report I have a chart that displays both negative and positive values (see attachment), which seems to work fine :) However, I need to place the axis labels at the bottom, and not in the center (0) as they are right now. I came across an older post saying that this was not possible at that time (around mid to late 2012), but I was hoping this was sorted by now?
Here's my chart code:
If this is still not supported, I'd greatly appreciate a possible workaround as this is much needed functionality :)
Thanks in advance!
As a part of a report I have a chart that displays both negative and positive values (see attachment), which seems to work fine :) However, I need to place the axis labels at the bottom, and not in the center (0) as they are right now. I came across an older post saying that this was not possible at that time (around mid to late 2012), but I was hoping this was sorted by now?
Here's my chart code:
@(Html.Kendo().Chart()
.Name("chart")
.Theme("silver")
.Legend(legend => legend.Visible(false))
.ChartArea(chartArea => chartArea
.Background("transparent")
)
.Series(series =>
{
series.Area(@Model.Weight).Name("Weight");
})
.ValueAxis(axis => axis
.Numeric("depth")
.Labels(labels => labels.Format("{0}kN"))
.AxisCrossingValue(0)
.Line(line => line.Visible(false))
)
.CategoryAxis(axis => axis
.AxisCrossingValue(0,0,0,10)
.Categories(@Model.Depth)
.MajorGridLines(lines => lines.Visible(true))
)
.Tooltip(tooltip => tooltip
.Visible(true)
.Format("{0}%")
.Template("#= series.name #: #= value #")
)
)
Thanks in advance!