Git Product home page Git Product logo

Comments (7)

crudson avatar crudson commented on May 14, 2024 2

The API data is fine. I think you were wanting to right justify the labels but in doing this are just showing the last four digits. In lib/cli/chart instead of (' ' + x.toFixed(0)).slice(-' '.length) first get the max value length with something like Object.values(data.timeline[type]).reduce((a,c) => Math.max(a, c.toFixed().length), 0) then padStart() with this length when creating the labels.

from covid19-tracker-cli.

crudson avatar crudson commented on May 14, 2024 2

Screenshot_20200401_150103

See fixed axis as per suggested change in previous comment. I can do a pull req if you want.

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 14, 2024

Hi @azlux what do you mean by "bad abscissa axis in graphs" can you explain in detail? Let me know also your suggestion regarding this.

from covid19-tracker-cli.

azlux avatar azlux commented on May 14, 2024

Look at the numbers, there are not good.

from covid19-tracker-cli.

warengonzaga avatar warengonzaga commented on May 14, 2024

@azlux got it... I understand the issue now it might the chart we are using or there is an issue with the API we will review this thank you for reporting.

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 14, 2024

Hi @crudson Yes, please create PR to the dev branch. Thanks!

from covid19-tracker-cli.

ianvizarra avatar ianvizarra commented on May 14, 2024

Hi @azlux This is fixed #28

Thanks @crudson

from covid19-tracker-cli.

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.