hi, i want to set the upper and lower bound through scripting in vision chart. i tried this code: chart = self.Data| axes = chart.getYAxes() axis.setLowerBound(20) axis.setUpperBound(100) chart.setYAxes(axes) chart.createChart()
but its not working
I haven't dug too deeply, but based on what you pasted, you do not have 'axis' defined; 'axes', yes, but not 'axis'
It would be something like this in the configureChart extension function.
configureChart
axis = chart.plot.rangeAxis axis.lowerBound = 20 axis.upperBound = 100
thanks its working