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

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

1 Answer 113 Views
Sparkline
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 02 Aug 2013, 05:30 AM
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.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 05 Aug 2013, 11:37 AM
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!
Tags
Sparkline
Asked by
Matt
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or