GithubHelp home page GithubHelp logo

Dynamic minimum Y values about charts HOT 7 CLOSED

 avatar commented on August 15, 2024 1
Dynamic minimum Y values

from charts.

Comments (7)

torian257x avatar torian257x commented on August 15, 2024 9

@pratu16x7 is there a way to disable this feature? e.g. I DONT want that it sets the range dynamically...

from charts.

pratu16x7 avatar pratu16x7 commented on August 15, 2024 3

Cool! Yeah, looks like this could use a more dynamic range. We'll put this right up there with the tiny fractions feature. Cheers!

from charts.

pratu16x7 avatar pratu16x7 commented on August 15, 2024

@dannyk660 Zero baselines are intentional, every data point on the graph is meant to be at its absolute (as opposed to relative) value: http://www.storytellingwithdata.com/blog/2012/09/bar-charts-must-have-zero-baseline.

But, I agree that this may not be true for line charts; we aren't experts in data science, so we'd be happy to learn and incorporate stuff that's legit in data representation :)

from charts.

 avatar commented on August 15, 2024

Sure, thanks for your response! Here's an example of what I'm looking at:

https://imgur.com/FkQSYjt

By starting at zero, it's pretty hard to discern any variations in the data, since all the action happens from 13k to 19k.

Thanks again!

from charts.

pratu16x7 avatar pratu16x7 commented on August 15, 2024

So here's the update.

Line charts now have a dynamic minimum value๐ŸŽ‰; check them out on the demo! (The set in the screen below has a 10-70 range)
screen shot 2017-11-14 at 3 15 18 am

It also works on all negatives
screen shot 2017-11-14 at 3 34 32 am

Anyone interested can check intervals.js for the new generic intervalling ;) We also support fractions.

from charts.

pratu16x7 avatar pratu16x7 commented on August 15, 2024

Do reopen in case you find any issues. Closing as fulfilled.

from charts.

mrto1 avatar mrto1 commented on August 15, 2024

It's still not adjusting for me. For example, data between 0.29 and 0.31, y axis has a range between 0.20 and 0.40. Thank you.

from charts.

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.