/
Auto truncate X-Axis labels in Chart

Auto truncate X-Axis labels in Chart

You can now choose to trim some characters of X axis labels automatically so that the chart gets enough space to render. This can be customized in the respective ICT file to enable or disable the auto truncate feature, truncate either the initial or trailing characters and specify the maximum percentage height for X-axis labels.

Below is a sample ICT file (<Intellicus installation path>IntellicusReportEnginetemplateschartsamchart_javascriptDefault) with the specified configurations:

categoryAxis.disableEllipsisInLabels = true;

categoryAxis.ellipsisPosition = “suffix|prefix”;

categoryAxis.maxHeight = “25%”;

Figure 15: Auto truncate X labels in Chart

Related content

Copyright Kyvos, Inc. All rights reserved.