I'm trying to figure out what I can do with report chart scripting:
I'd like to add value numbers to the bars, rotate my X-axis labels (they're too long to display), and get a better understanding of what can be scripted.
The manual has no mention of this under the report design components, the closest I could find was in the Vision components, which just refers you to the jfree chart documentation (which is not very helpful).
Example chart:
Here's what I have in the scripting field:
def configureChart(data, chart):
chart.setTitle('Hourly Output vs Target')
chart.borderVisible = True
chart.getCategoryPlot().getDomainAxis(1).setCategoryLabelPositions(CategoryLabelPositions.UP_90)
chart.getDomainAxis(1).setVisible(false)
The first two lines work, but the second two do not but do not throw any errors. I can't get any errors at all out of the scripting field (it just runs correct code and ignores the rest even if I type gibberish into the box).
Any help in understanding what I can do here would be greatly appreciated.