can I set dynamic color for categoryAxis.crosshair?
I try to set dynamic color for crosshair based on the conditional.
But this option do not support function.
Then can i set dynamic color for this?
Thanks,
Huong
1 Answer, 1 is accepted
0
Alex Hajigeorgieva
Telerik team
answered on 26 Sep 2018, 06:25 AM
Hello, Hưởng,
Thank you for giving the Kendo UI Chart a test run.
It is possible to change the colour of the Kendo UI Chart crosshair dynamically by assigning a new colour to the option and calling the refresh() method of the chart. Here is a sample runnable example I created for your convenience:
Alternatively, the setOptions() method could be used.
Let me know if further assistance is required.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.