mathiasbynens / covid-19-vaccinations-germany

Historical data on COVID-19 vaccination doses administered in Germany, per state.
https://mathiasbynens.github.io/covid-19-vaccinations-germany/
MIT License
52 stars 10 forks source link

Use Frappe Charts Next #30

Closed scmmishra closed 3 years ago

scmmishra commented 3 years ago

Heya, maintainer of Frappe Charts here. We have v2 for frappe charts in Beta. You can check out the v2-beta branch on Github. It has some new features and other enhancements, on of it is better tooltips.

Current tooltips have this scaling problem.

Screenshot 2021-05-07 at 14 42 56

This is solved in v2 with new tooltips looking like this.

Screenshot 2021-05-07 at 14 34 54

I do almost weekly releases of v2 beta expecting a official release soon. You it's published under the next tag, you can try it out in your project by replacing the CDN link with this

- import { Chart } from 'https://cdn.jsdelivr.net/npm/frappe-charts@1.5.7/dist/frappe-charts.min.esm.js';
+ import { Chart } from 'https://unpkg.com/frappe-charts@2.0.0-rc14/dist/frappe-charts.esm.js';
mathiasbynens commented 3 years ago

Will do, thanks for the suggestion! v2 looks awesome and feels faster.

I wonder why the jsdelivr link doesn’t work though. https://cdn.jsdelivr.net/npm/frappe-charts@2.0.0-rc14/dist/frappe-charts.min.esm.js is available but doesn’t seem to actually be v2.0.0-rc14?

mathiasbynens commented 3 years ago

Live on https://mathiasbynens.github.io/covid-19-vaccinations-germany/. Looks great! Thanks so much <3