Articles in this section
Category / Section

How to display axis labels between the ticks?

1 min read

Essential Chart supports placing the labels in the X-axis between the ticks or on the ticks by using the LabelPlacement property of the axis. This property takes either onTicks or betweenTicks as values. By default, labels in categorical axis are placed between the ticks and labels in the numerical axis are placed near the ticks. Refer to the Axis for more information on the types of axes supported by the Essential Chart. Only category axis supports placing labels between ticks and other types of axes places labels near the ticks.


  <ej:Chart ID="container" runat="server">
        <PrimaryXAxis LabelPlacement="betweenTicks"></PrimaryXAxis>
        . . . . . .
        . . . . . .

The following screenshot displays the axis labels between the ticks.

The chart with axis labels between ticks

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment