This is a migrated thread and some comments may be shown as answers.

Problem with text axis

1 Answer 8 Views
Charts
This is a migrated thread and some comments may be shown as answers.
julitogtu
Top achievements
Rank 1
julitogtu asked on 14 Jan 2014, 08:56 AM
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:
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.Column(model => model.Parvalue).Name("Valor").Labels(true).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.)
Thanks for your help!

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 14 Jan 2014, 01:06 PM
Hello Julio,

The illustrated issue looks like a bug with the series labels in an older version of Kendo UI, however it is already addressed. Could you please ensure you are using the latest official version of Kendo UI (v2013.3.1119)?

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
julitogtu
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or