Problem with text axis

4 posts, 0 answers
  1. julitogtu
    julitogtu avatar
    8 posts
    Member since:
    Sep 2009

    Posted 14 Jan 2014 Link to this post

    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!
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 14 Jan 2014 Link to this post

    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!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. julitogtu
    julitogtu avatar
    8 posts
    Member since:
    Sep 2009

    Posted 14 Jan 2014 Link to this post

    Hi Iliana, yes I'm using the version v2013.3.1119.

    Any other option?

    Thanks!
  5. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 15 Jan 2014 Link to this post

    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!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready