Disable hide/show click of plot bands

2 posts, 1 answers
  1. Bob
    Bob avatar
    123 posts
    Member since:
    Sep 2012

    Posted 02 Feb 2015 Link to this post

    Hi, I've been asked to disable the plot band feature which allows you click in the legend to hide/show a given bar.  Is this possible?
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 04 Feb 2015 Link to this post

    Hi Bob,

    For this requirement you should prevent the legendItemClick event: 
    $("#chart").kendoChart({
       //....
       legendItemClick: function(e) {
           e.preventDefault();
       }
    });

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top