Problem with text axis

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

    Posted 14 Jan 2014 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top