Enhancements in Intellicus 18.1

Auto-truncate X-Axis and Legend Labels in Charts

0 views 0

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 (IntellicusReportEnginetemplateschartsamchart_javascriptDefault) with the specified configurations:
For X-Axis,
categoryAxis.disableEllipsisInLabels = true;
categoryAxis.ellipsisPosition = “suffix/prefix”;
categoryAxis.maxHeight = “25%”;

For Legends,
legend.disableEllipsisInLabels = false;
legend.ellipsisPosition = “suffix”;
legend.maxHeight = “40%”;
legend.maxWidth = “25%”;
//legend.maxCharPerLegend = 20; //If this is uncommented, then maxHeight and maxWidth will not be respected