making specific labels bold on RangeBar series

2 posts, 0 answers
  1. Labhesh
    Labhesh avatar
    23 posts
    Member since:
    Sep 2015

    Posted 12 Sep Link to this post

    I have created a rangebar series here: http://dojo.telerik.com/ePeLo/6

    What I'd like to do is make specific x-axis labels bold or have some kind of a "marker" line (see the attached image) - that marks "Today" on the chart. So its clear to the user as to what events happened in the past. 

    Thanks, 

    Labhesh

  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 14 Sep Link to this post

    Hi Labhesh,

    Both requirements can be achieved by using the Drawing API
    - ...make specific x-axis labels bold ...
    For this one you could use the visual setting of the categoryAxis label:

    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-categoryAxis.labels.visual


    - ...have some kind of a "marker" line...
    Here you could draw custom plotBands

    http://docs.telerik.com/kendo-ui/controls/charts/how-to/custom-plot-bands


    Regards,
    Iliana Nikolova
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top