This KB illustrates that how to avoid the axis label overlapping in PivotChart. Solution: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 PivotClient by using the chartLoad event. The following screen-shot shows the result, when the “labelIntersectAction” property is set to “multiplerows”.
The code sample below illustrates on how to set “labelIntersectAction” property in PivotChart. $(function () { $("#PivotChart1").ejPivotChart({ 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"; }
|
This page will automatically be redirected to the sign-in page in 10 seconds.