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

Add custom class to chart elements via template or?

1 Answer 182 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Louis
Top achievements
Rank 1
Louis asked on 03 May 2013, 08:23 PM
Is there a way I can use the template configuration of chart elements like series, legend, etc, to add a custom class that I can style with my own css?

I can do regular css pathing , like

<style scoped>
div .chart svg g text:hover
{
cursor: pointer;
}
</style>

But I would love a simpler and more elegant solution of just adding and referencing my own specific classes.

Thanks

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 06 May 2013, 08:21 AM
Hi Louis,

Unfortunately I can't offer you a suitable workaround for the problem. We will try to fix this problem in our future releases. Please accept our apologies for the inconvenience this may cause.

All the best,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Louis
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or