Coder Social home page Coder Social logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
This is not a bug, but rather a wrong usage of the APIs.
Each element in a RangeCategorySeries gets a min and a max value. Min value 
labels are rendered below the bar and the max value labels above the bar.

In the example you provided, the max value is -2000 and the min value is 0, 
which of course is not right.
Just set the min value = -2000 and the max to 0 and it will work fine.

Original comment by [email protected] on 20 Nov 2010 at 11:01

  • Changed state: Done

from achartengine.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
Hello,

I'm not using RangeCategorySeries in this example, but CategorySeries. It's a 
simple BarChartView with a series with values ranging from +2575 to -2028.
I've also set the mentioned min/max Values you're referring to (+/-500 to get 
some space on top/on bottom):

if (min < 0) renderer.setYAxisMin(min - 500);
renderer.setYAxisMax(max + 500);

do I have to use RangeCategorySeries instead or is it a bug in CategorySeries?

best regards, Achim

Original comment by [email protected] on 22 Nov 2010 at 1:28

from achartengine.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
The range bar chart was designed to be used with RangeCategorySeries.

Dan

Original comment by [email protected] on 26 Nov 2010 at 12:56

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.