Vision easy chart X-trace date format in milliseconds

I developed this confiureChart extension function script some time ago for modifying the date and time formats of that label:

#def configureChart(self, chart):
	from java.text import SimpleDateFormat
	from org.jfree.chart.axis import DateAxis
	
	# https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
	pureDateFormat = SimpleDateFormat("yyyy/MM/dd")
	
	# The capital S is for millisecond format
	pureTimeFormat = SimpleDateFormat("h:mm:S a")
	dateAxis = DateAxis()	
	plot = chart.plot
	plot.setDomainAxis(dateAxis)
	plotField1 = plot.getClass().getDeclaredField('dateFormat')
	plotField2 = plot.getClass().getDeclaredField('timeFormat')
	plotField1.setAccessible(True)
	plotField2.setAccessible(True)
	plotField1.set(plot, pureDateFormat)
	plotField2.set(plot, pureTimeFormat)

...but you get what you pay for; this approach won't be nearly as reliable as the NoteChart's implementaion.