Articles in this section
Category / Section

How to avoid the axis label overlapping in JavaScript PivotClient?

1 min read


When the axis labels overlap with each other, based on the chart dimensions and label size, you can use the labelIntersectAction = "multiplerows" property of the axis to avoid such overlapping. The default value of the labelIntersectAction property is none

We can also apply the same property for PivotChart inside JavaScript PivotClient by using the chartLoad event.

The following screen-shot shows the result, when the “labelIntersectAction property is set to “multiplerows”.

Label intersection in PivotChart


The code sample below illustrates on how to set labelIntersectAction property in PivotChart.

$(function () {
          url: "../wcf/OlapChartService.svc",
          load: "loadTheme",
          primaryXAxis: { labelIntersectAction: 'multiplerows' }


The code sample below illustrates on how to set labelIntersectAction property in PivotChart inside PivotClient.

$(function () {
    $("#PivotClient1").ejPivotClient({ url: "../wcf/OlapClientService.svc", title: "OLAP Browser", chartLoad: "setChartProperties"});
function setChartProperties(args) {
      this.model.load = "loadTheme";
      this.model.primaryXAxis.labelIntersectAction = "multiplerows";





I hope you enjoyed learning about how to rotate axis labels in JavaScript Chart.

You can refer to our JavaScript PivotClient feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript PivotClient example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!


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