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 RowDefinitions property in ejChart?

Platform: ASP.NET Web Forms |
Control: Chart

Essential Chart supports splitting the chart area into multiple rows by using the rowDefinitions property. There are options to specify the row height, unit to consider (percentage or pixel) for the specified row height, color and width for the line that indicates where the row starts in the chart area.

Vertical axes can be added to a row by using the rowIndex property of the axis. By default, all the vertical axes are present at the row with index 0 (first row). This property is useful for displaying multiple series in the Chart.

Note that all the series in the Chart should be compatible with one other when using the rowDefinitions property; incompatible series types are not rendered. For example, column and bar type series are not compatible. When attempts are made to render incompatible series in different rows, either the column or bar series are drawn based on their position in the series collection.


    <ej:Chart ID="container" runat="server">        
            <ej:RowDefinitions RowHeight="50" Unit="percentage" LineColor="green" LineWidth="2" />
            . . . . . . .
            . . . . . . .
        <PrimaryYAxis RowIndex="1"></PrimaryYAxis>
            <ej:Axis RowIndex="0" Name="SecondaryY" Orientation="vertical"></ej:Axis>
         . . . . . . .
         . . . . . . .


The following screenshot displays the Chart with multiple rows.

The use of RowDefinitions property

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