Open jomingeorge opened 4 years ago
i have the same problem,have you found the solution?
Hi, if suddenly someone will help after so much time
final Viewport v = new Viewport(charts[chart].getMaximumViewport());
v.top = (max > 0 ? max : 100);
v.bottom = min;
charts[chart].setMaximumViewport(v);
charts[chart].setCurrentViewport(v);
When i try to generate the graph with a single value, it is just showing an empty graph (It is supposed to show a single dot in the graph indicating the value right?).
The problem also persists if the first and second y axis value is same (When there is just 2 values).
Any ideas why this weird problem occurs?
The code am using is given below