Hi everyone, I'm using the asp.net mvc wrapper chart, but I have a problem when I set the graphic type to column, is some cases I get the text undefined, I attached an image, my code is:
Thanks for your help!
01.
@(Html.Kendo().Chart(Model)
02.
.Name("graphicchart")
03.
.Title(title => title.Text(ViewBag.graphictitle))
04.
.Legend(legend => legend
05.
.Position(ChartLegendPosition.Bottom)
06.
)
07.
.ChartArea(chartArea => chartArea
08.
.Background("transparent")
09.
)
10.
.SeriesDefaults(seriesDefaults =>
11.
seriesDefaults.Line()
12.
)
13.
.Series(series =>
14.
{
15.
series.Line(model => model.Parvalue).Name("Valor").Labels(true).Markers(true).Width(3).Opacity(0.8);
16.
})
17.
.CategoryAxis(axis => axis
18.
.Categories(model => model.Datetimevalue)
19.
.MajorGridLines(lines => lines.Visible(false))
20.
.Labels(labels => labels.Rotation(-90))
21.
.Date()
22.
.BaseUnitStep(10)
23.
.MinorGridLines(lines => lines.Visible(true))
24.
)
25.
.Tooltip(tooltip => tooltip
26.
.Visible(true)
27.
.Format("{0}")
28.
)
29.
)