Back to project page customhellochartdemo.
The source code is released under:
Apache License
If you think the Android project customhellochartdemo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lecho.lib.hellocharts; /* www . ja v a2 s. c o m*/ import lecho.lib.hellocharts.model.Viewport; /** * Use implementations of this listener to be notified when chart viewport changed. For now it works only for preview * charts. To make it works for other chart types you just need to uncomment last line in * {@link ChartComputator#constrainViewport(float, float, float, float)} method. * */ public interface ViewportChangeListener { /** * Called when current viewport of chart changed. You should not modify that viewport. */ public void onViewportChanged(Viewport viewport); }