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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What is the use of commonSeriesOptions in the Chart?

Platform: JavaScript |
Control: ejChart |
Published Date: May 26, 2015 |
Last Revised Date: August 14, 2015

The commonSeriesOptions property allows you to customize marker, data label and other properties of all the series in the Chart. All the properties except the points property in the series are customizable by using the commonSeriesOptions property.

For example, changing the marker shape in the commonSeriesOptions changes the marker shape of all the series. To customize the marker and other properties for a specific series, you need to provide the values to the properties of that specific series in the series collection. In general, values provided to the series in series collection overrides the values provided through commonSeriesOptions. Refer to the following code example.



The following screenshot displays the Chart with markers enabled by using the commonSeriesOptions and the marker fill color is customized specifically for the first series by using series collection.

JS Playground sample link: CommonSeriesOptions

You must log in to leave a comment

Please sign in to access our KB

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