This is a migrated thread and some comments may be shown as answers.
How can I style plot bands?
2 Answers 25 Views
This is a migrated thread and some comments may be shown as answers.
Florentin
Top achievements
Rank 1
Florentin asked on 26 Nov 2019, 09:04 AM

I have a series of vertical bar graphs. The individual bars must be selectable. For this I used plot bands. That works well so far. Now the plot band should get a thin border. Is there a way to add a CSS class to the plot band, or to set the border in another way? I tried rendering, but with Panning and Zooming the bars move and the border stays.

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 28 Nov 2019, 08:05 AM

Hello,

 

I am afraid that the plotbands do not support border. It is possible to draw them with border using the Drawing API and update them while panning and zooming in the paneRender event - example.

 

Regards,
Daniel
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Florentin
Top achievements
Rank 1
answered on 29 Nov 2019, 12:14 PM
Hello, Daniel,

the example is really helpful. Thank you very much.
Asked by
Florentin
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Florentin
Top achievements
Rank 1
Share this question
or