Hi, how can I make the charts more responsive? I've tried them on Galaxy Note ( so it's not some low-end phone ) and a simple Line chart is so "choppy"... How can I make it scroll smoother ( with or without the ScrollPager )?
I've check StackOverflow and Forums and found no solution yet.
TeeCharts for Android - poor performance
Re: TeeCharts for Android - poor performance
Hi,
Have you looked at the PanData tool? You can find it in the demo.
Also note that, as more points and elements of the chart to be drawn (grid lines, gradients, etc) more time is needed to draw the chart. And scrolling/panning the chart means redrawing it several times.
Have you looked at the PanData tool? You can find it in the demo.
Also note that, as more points and elements of the chart to be drawn (grid lines, gradients, etc) more time is needed to draw the chart. And scrolling/panning the chart means redrawing it several times.
Code: Select all
tChart1.getAspect().setView3D(false);
tChart1.getLegend().setVisible(false);
tChart1.getPanel().getGradient().setVisible(false);
tChart1.getWalls().getBack().getGradient().setVisible(false);
tChart1.getWalls().getBack().setVisible(false);
tChart1.getAxes().getLeft().getGrid().setVisible(false);
tChart1.getAxes().getBottom().getGrid().setVisible(false);
Line line1 = new Line(tChart1.getChart());
line1.fillSampleValues();
PanData panData = new PanData(tChart1.getChart());
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |