Closed iredmail closed 9 months ago
@iredmail
The new version has some breaking changes. I'm currently rewriting the official docs at ChartsCSS.org which will include a migration guide from 0.x to 1.x.
You can also share your HTML here (or a share a codepen link), and I'll try to help you fix it, or refer you to the relevant docs.
@ramiy i'm looking forward to this migration guide. many of my charts broke with 1.0. hopefully it will just be a matter of changing some class names in the html? attached two screenshots as an example (after vs before)
To fix broken charts, go back to 0.9.0 version.
Replace:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css">
With:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charts.css@0.9.0/dist/charts.min.css">
See the migration guide at https://chartscss.org/docs/migrate-to-v1/
Same html code works fine in v0.9.0 but not 1.0.1. In v1.0.1, chart looks like a background image and other html data (not part of chart) floats on it.
BTW, i use Bootstrap v5.