We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to style chart properties when enableCanvasRendering is activated


I would like to style the ejChart with selectors instead of using the API when the canvas is enabled. For example, the normal way to set the background color of the chart would be this:


   background: "skyblue"                      

Instead this, I would like to have a selector for the background (and other properties) and be able to change them. Is that possible?
Thank you!

1 Reply

BP Baby Palanidurai Syncfusion Team April 11, 2019 11:49 AM UTC

Hi Didac, 

Greetings from Syncfusion. 

We have analyzed your query. As of now, we have achieved the style for charts only by using API. We don’t have support for CSS to chart. 

Kindly revert us, if you have any concerns.  


Live Chat Icon For mobile
Up arrow icon