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

What is the use of the commonSeriesOptions in Chart?

Platform: ASP.NET Web Forms |
Control: Chart

The CommonSeriesOptions property provides options to customize marker, data label and other properties of all the series in Chart. Except for the Points property, you can customize all the other properties in the series using the CommonSeriesOptions property.

For example, changing marker shape in CommonSeriesOptions changes the marker shape of all the series. To customize marker and other properties for a specific series, values should be provided to the properties of that specific series in the series collection. In general, the values provided to the series in the series collection override the values provided through CommonSeriesOptions.


         <ej:Chart ID="Chart1" runat="server">            
                <Marker Visible="true"></Marker>
                        <ej:Points x="1" y="35"> </ej:Points>
                        <ej:Points x="2" y="26"></ej:Points>
                        <ej:Points x="3" y="51"></ej:Points>
                        <ej:Points x="4" y="69"></ej:Points>
                    <Marker Fill="blue">
                        <Size Width="10" Height="10" />
                        <ej:Points x="1" y="72"> </ej:Points>
                        <ej:Points x="2" y="29"></ej:Points>
                        <ej:Points x="3" y="48"></ej:Points>
                        <ej:Points x="4" y="39"></ej:Points>
                        <ej:Points x="1" y="52"> </ej:Points>
                        <ej:Points x="2" y="58"></ej:Points>
                        <ej:Points x="3" y="32"></ej:Points>
                        <ej:Points x="4" y="11"></ej:Points>

The following screenshot displays a chart with markers enabled using CommonSeriesOptions and marker fill color customized specifically for the first series in the Series collection.

Chart with markers enabled using CommonSeriesOptions

Figure 1: Output


2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
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.

Up arrow icon

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