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

Hello,

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:

$("#container").ejChart({

   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

Baby Palanidurai 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.  

Regards, 
Baby. 

Loader.
Live Chat Icon For mobile
Up arrow icon