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

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

1 Answer 29 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 08 Dec 2015, 06:46 PM

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

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 09 Dec 2015, 11:41 AM
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!
 
Tags
Charts
Asked by
Greg
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or