Sparkline chart height not getting set and unable to display baseline + notes(icons for line information)

2 posts, 0 answers
  1. Matt
    Matt avatar
    1 posts
    Member since:
    Jul 2013

    Posted 02 Aug 2013 Link to this post

    I am facing an issue with sparkline chart's height.
    It is not set by height,min-height,line-height.
    Also the labels and base axis are also not displayed.
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2593 posts

    Posted 05 Aug 2013 Link to this post

    Hello Matt,

    Up to your questions:

    • About the SparkLine height, please check this forum thread which discusses the same subject;
    • By default SparkLine categoryAxis / valueAxis are not visible, however you could use the configuration options to show them: 
      @(Html.Kendo().Sparkline().Data(Model.lst).Name("press-log").HtmlAttributes(new { style = "width: 500px;" })
         .CategoryAxis(catA=>catA.Visible(true))
         .ValueAxis(valA=>valA.Numeric().Visible(true))
      )
    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