DisplayUnit: String;
The DisplayUnit property determines tick mark intervals.
Use JSON or the setDisplayUnits method to set the property value and the getDisplayUnit method to get the property value.
Available values: "none", "hundreds", "thousands", "millions", "billions", "trillions".
Executing the example requires the web application with opened instance of the express report, with selected chart. It is required to enter code in the console:
// Cet chart instance dView = PP.App.getModuleObject().getReportBox().getDataView(); chart = dView.getChartView().getInstance(); // Get chart horizontal axis axis = chart.getXAxis(); // Get property value console.log(axis.getDisplayUnit());
After executing the example the property value is displayed in the console.
See also: