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

Problem with text axis

3 Answers 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
julitogtu
Top achievements
Rank 1
julitogtu asked on 14 Jan 2014, 09:08 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.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.)
Thanks for your help!

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 14 Jan 2014, 01:10 PM
Hi Julio,

I have already posted a reply in your other thread, however I am pasting my reply here too:

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)?

On a side note, please refrain from posting duplicate questions as we monitor all threads - posting same question more than once produces unnecessary overload. Thank you in advance for your understanding.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
julitogtu
Top achievements
Rank 1
answered on 15 Jan 2014, 04:10 AM
Hi Iliana, yes I'm using the version v2013.3.1119.

Any other option?

Thanks!
0
Iliana Dyankova
Telerik team
answered on 15 Jan 2014, 09:39 AM
Hi Julio,

I am not quite sure what causes the issue - is it possible to provide an isolated runnable example which I can test locally? This way I would be able to check what exactly is going wrong and provide concrete recommendations. Thank you in advance for your time and cooperation.

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
Chart
Asked by
julitogtu
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
julitogtu
Top achievements
Rank 1
Share this question
or