GithubHelp home page GithubHelp logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
I cannot replicate this one.
Can you please provide some source code that replicates this one?

Original comment by [email protected] on 26 Nov 2010 at 2:23

from achartengine.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
It seems to happen when I set the mRenderer.setXAxisMax() function.

See the attached Main.java (tested with svn rev100).. When I zoom in, pan fully 
to the left, I can't go back to the right. When I comment out the setXAxisMax 
function, it is working correctly. Snippet from the code:

public void run() {
    int numRows = 200;

    mCurrentSeries.clear();
    Random rand = new Random();

    for (int i = 0; i <= numRows; i++) {
        mCurrentSeries.add(i, rand.nextInt(10));
    }

    mRenderer.setXAxisMin(0);
    mRenderer.setXAxisMax(numRows);

    double[] limits = new double[4];
    limits[0] = 0;
    limits[1] = numRows;
    limits[2] = 0;
    limits[3] = 10;
    mRenderer.setPanLimits(limits);

    if (mChartView != null) {
        mChartView.repaint();
    }
}

Original comment by [email protected] on 29 Nov 2010 at 8:58

Attachments:

from achartengine.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 25, 2024
Good catch! There were 2 indexes typos.
Fixed in svn rev. r25.

Original comment by [email protected] on 3 Dec 2010 at 12:01

  • Changed state: Fixed

from achartengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.