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

What is the use of ColumnDefinitions property in ejChart?

Essential Chart supports splitting the chart area into multiple columns by using the ColumnDefinitions property. It has options that allow you to specify the column width and unit to be considered like percentage or pixel, for the specified width of a column.

Horizontal axes can be added to a column using the ColumnIndex property of the axis. By default, all the horizontal axes are present at the column with index 0, that is, the first column. This property is useful in scenarios that need to display multiple series in the chart. It can also be used in combination with the RowDefinitions property to split chart area into multiple rows and columns.

Note that all the series in the chart should be compatible with each other when you are using the ColumnDefinitions property, since incompatible series types are not rendered. For example, column and bar type series are not compatible with each other. When any attempts are made to render incompatible series in different columns, either the column or the bar series will be drawn based on their position in the series collection.



The following screenshot displays chart with multiple columns.

Figure 1: Output


Article ID: Published Date: Last Revised Date: Platform: Control:
5183 07/07/2015 07/07/2015 ASP.NET Web Forms Chart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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