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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

How to style chart properties when enableCanvasRendering is activated

Thread ID:





143919 Apr 10,2019 01:30 PM UTC Apr 11,2019 11:49 AM UTC jQuery 1
Tags: ejChart
Dídac Castellet Menchón
Asked On April 10, 2019 01:30 PM UTC


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!

Baby Palanidurai [Syncfusion]
Replied On 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.  



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon