7.9 Report Bar Graph JFreeChart Object

image
image

In my Ignition 7.9 report I am using the built in scripting on the bar graph to modify the X-Axis Labels with the JFreeChart object.

	plot = chart.getCategoryPlot()
	#print str(dir(plot.getDomainAxis()))
	xAxis = plot.getDomainAxis()
	print str(xAxis.getCategoryLabelPositions())
	xAxis.setMaximumCategoryLabelLines(100)
	#xAxis.setTickLabelsVisible(False)

On the bar graph I only want every 5th element to have a label for the x axis, from the built-in property editor it does not appear to be doable, does anyone off hand know how to handle this using the JFreeChart object? The xAxis.setTickLabelVisible(False) will completely disable it but the .sertMaximumCategoryLabelLines() will not produce anything regardless of the input.