Category / Section
How to set ASP.NET WebForms Chart axes on the opposed side?
1 min read
Essential Chart supports positioning chart axis in its usual position or opposed position. To display chart axis in opposed position, you can enable the OpposedPosition property of the specified axis. All horizontal and vertical axes including the primary X axis and primary Y axis can be placed on the opposite side of their usual position. This is illustrated in the following code example.
ASP
<ej:Chart ID="container" runat="server"> <PrimaryXAxis OpposedPosition="true"></PrimaryXAxis> <PrimaryYAxis OpposedPosition="true"></PrimaryYAxis> . . . . . . . . . . . . </ej:Chart>
The following screenshot displays the Chart with primary X axis and primary Y axis in the opposed position.
Figure 1: Chart with axes in opposite position