Is it possible to mix custom visuals with standard marker types?

2 posts, 0 answers
  1. Greg
    Greg avatar
    1 posts
    Member since:
    Oct 2013

    Posted 08 Dec 2015 Link to this post

    Hello,

     Is it possible to have some points use the standard marker shapes and only use custom visuals for data points that meet certain conditions? I can fake it by using the Kendo.Drawing classes to draw circles but it seems like there would be a simpler way. Plus the bigger issue is handling what happens when the cursor hovers over the point. I have used this page as my starting point.

     

    Thanks,

     

    Greg

  2. Daniel
    Admin
    Daniel avatar
    2118 posts

    Posted 09 Dec 2015 Link to this post

    Hello Greg,

    Yes, it is possible. The visual function argument has createVisual method which can be used to create the default visual. In order to show the default highlight on hover for these points you should just not call the preventDefault method - example.

    Regards,
    Daniel
    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