How to highlight value (or range) on the value axis

2 posts, 0 answers
  1. Josh G
    Josh G avatar
    3 posts
    Member since:
    Jul 2012

    Posted 11 Oct 2012 Link to this post

    I am trying to highlight a range of acceptable values on the value axis of a line chart.  I initially thought of adding a series with the data property set to a single value, but this produces a bar on the chart rather than a line at y = k.  Ultimately I am displaying blood glucose readings and need to show the values' relationship to the normal high and low.

    Any ideas are appreciated.
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2622 posts

    Posted 12 Oct 2012 Link to this post

    Hi Joshua,

    In order to highlight the range of acceptable values you can use the plotBands configuration option of Kendo UI Chart. For example: 
        valueAxis: {
            plotBands: [{
                from: 6,
                to: 8,
                color: "green"

    I hope the suggested approach fits your requirements.
    Kind regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top