Hi,
We have a Chart and we are trying to set dynamic X-axis values. The X-axis is a symbolic axis, with the configureChart
extension function we can access the symbols with getSymbols()
.
This is what I have so far:
plot = chart.getXYPlot()
xAxis = plot.getDomainAxis()
symbols = xAxis.getSymbols()
print symbols
The output is:
array(java.lang.String, [u'a', u'b', u'c', u'd', u'e', u'f', u'g', u'h'])
Is there a way to set the symbols string property? Or any approach to set the X-axis values once the data is updated?
Thank you!