githubbub / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

org.achartengine.chart.XYChart line 874 #372

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
if (!mRenderer.isMinXSet(scale) || !mRenderer.isMaxXSet(scale) || 
!mRenderer.isMinXSet(scale)
        || !mRenderer.isMaxYSet(scale)) {

checked twice isMinXSet I guess it would be 

if (!mRenderer.isMinXSet(scale) || !mRenderer.isMaxXSet(scale) || 
!mRenderer.isMinYSet(scale)
        || !mRenderer.isMaxYSet(scale)) {

Original issue reported on code.google.com by Zipi...@gmail.com on 21 Nov 2013 at 10:31

GoogleCodeExporter commented 9 years ago
Thanks a lot for this great fix.

Original comment by dandrome...@gmail.com on 25 Nov 2013 at 10:12

GoogleCodeExporter commented 9 years ago
Please fix similar bug in chart/XYChart.java:
  public double[] toScreenPoint(double[] realPoint, int scale) {
    double realMinX = mRenderer.getXAxisMin(scale);
    double realMaxX = mRenderer.getXAxisMax(scale);
    double realMinY = mRenderer.getYAxisMin(scale);
    double realMaxY = mRenderer.getYAxisMax(scale);
    if (!mRenderer.isMinXSet(scale) || !mRenderer.isMaxXSet(scale) || !mRenderer.isMinXSet(scale)
        || !mRenderer.isMaxYSet(scale)) {
      double[] calcRange = getCalcRange(scale);
      realMinX = calcRange[0];

Original comment by zaitse...@gmail.com on 30 Dec 2013 at 1:55

GoogleCodeExporter commented 9 years ago

Original comment by 4viewsoft@gmail.com on 30 Dec 2013 at 8:22

GoogleCodeExporter commented 9 years ago
Thanks, once again.

Original comment by 4viewsoft@gmail.com on 7 Jan 2014 at 9:56