ShowMarksForHiddenLabels: Boolean;
The ShowMarksForHiddenLabels property determines whether labels are displayed for empty categories.
Use JSON or the setSettings method to set the property value and the getSettings and getShowMarksForHiddenLabels methods to get the property value.
Available values:
true. Labels for empty categories are displayed.
false. Labels for empty categories are not displayed.
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:
// Get chart instance dView = PP.App.getModuleObject().getReportBox().getDataView(); chart = dView.getChartView().getInstance(); // Get chart horizontal axis axis = chart.getXAxis(); // Get horizontal axis settings settings = axis.getSettings(); // Get property value console.log(settings.ShowMarksForHiddenLabels);
After executing the example the property value is displayed in the console.
See also: