Articles in this section
Category / Section

What are the themes available in the ejChart?

1 min read

JavaScript Chart has built-in support for about 16 themes by using Theme property of the Chart. Refer to the themes for more information on the themes available in the Chart. Changing the default theme might change the font of the chart components, axis lines, series background color, legend, tooltip, and chart background. Generally, dark theme affects the axis line color, tooltip text color, and font used for various components in the chart and gradient theme changes the series background color and legend symbol color.

JS

$("#container").ejChart({
    theme: 'gradientlight'
});

The following screenshot displays the chart in the gradient light theme. Since gradient light theme is used, the background color of the chart series and the legend item shape change, but there is no change in the font, tooltip, and axis line color.

The chart in the gradient light theme

 

JS Playground sample link: Themes

Conclusion
I hope you enjoyed learning on the themes available in the ejChart.
You can refer to our JavaScript Chart feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Chart example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied