I am creating an XYPlot, and I need to change the order to y-Axis (i.e. I need lower digits to be higher on the axis). I would appreciate any tips on how to do this.
I had the same problem as you. I found this:
ChartPanel.getChart().getXYPlot().getRangeAxis().setInverted(boolean)
to cancel the y axis ... you can use
ChartPanel.getChart().getXYPlot().getDomainAxis().setInverted(boolean)
Source: X-axis inverse numeric labels in JFreeChart
Source: https://habr.com/ru/post/900550/More articles:Unable to import Python MySQL module when running script with crontab - pythonDisable WPF exception for debugging - debuggingScroll bar like google uses - javascriptShorthand byte designation in C / C ++? - c ++Is there a way to apply the sinusoidal distortion effect only in shaders? - shaderX axis backward numeric labels in JFreeChart - javaC ++ 11, why can't I use some functions? - c ++Comparing two local database tables using C # - c #android: how to make flip tab like android market? - androidHow to combine two sql queries into one - sqlAll Articles