I found how to set zoom to barchart, but scale depends on how many xValues are in chart. How to make chart scaled similar in different cases?
@PhilJay Can you help me, please?
In the latest version, that is possible via
// limit the number of visible entries
chart.setVisibleXRange(...);
chart.invalidate();
@PhilJay ty, but i made this via
regChart.setScaleMinima((float) data.getXValCount() / 17f, 1f);
regChart.zoom(-10f,0f,0,0);
Most helpful comment
In the latest version, that is possible via