Options: Object
The Options property contains settings of express report chart.
Use the setOptions method to set the property value, and the getOptions method to get the property value. Property value cannot be set from JSON.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and have a loaded chart in working area of the express report. Invert a given chart:
// Get express report chart view var chartView = expressBox.getDataView().getChartView(); var options; // Get chart settings if (chartView.getInstance() && chartView.getInstance().options) { options = chartView.getInstance().options; } else { options = chartView.getOptions(); } // Invert chart options.chart.inverted = True; chartView.setInstance(options);
After executing the example the chart is inverted:
See also: