Comments (7)
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.
See fixed axis as per suggested change in previous comment. I can do a pull req if you want.
from covid19-tracker-cli.
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.
Look at the numbers, there are not good.
from covid19-tracker-cli.
@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.
Hi @crudson Yes, please create PR to the dev
branch. Thanks!
from covid19-tracker-cli.
Thanks @crudson
from covid19-tracker-cli.
Related Issues (20)
- Option for hiding irrelevant info to the actual stats HOT 5
- Quiet Mode Feature HOT 1
- Feature Request: Browser Support HOT 6
- Revamp README HOT 2
- Documentation Website HOT 2
- Move from trackercli.com to wareneutron.com domain name HOT 1
- Front End Dashboard for COVID-19 Cases HOT 3
- Broken Images HOT 5
- Update Old URLs HOT 2
- Typescript Migration HOT 4
- API Endpoint Upgrade to v3 HOT 2
- Circle CI Configurations HOT 2
- jest for testing HOT 2
- implement StackHawk DAST HOT 1
- add StackHawk badge to readme HOT 1
- add huntr.dev badge for bug bounty program
- create template for submitting issue HOT 1
- migrate to yarn 2 HOT 1
- sponsor badges broken HOT 1
- add supports to pnpm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covid19-tracker-cli.