chartist-js / chartist

Simple responsive charts
https://chartist.dev
MIT License
13.33k stars 2.54k forks source link

Please provide a standalone example (HTML/CSS/JS) of Chartist 1.0+ in action #1399

Open davidbgk opened 1 year ago

davidbgk commented 1 year ago

Would you like to work on this feature?

What problem are you trying to solve?

With the previous version (pre-1.0), it was pretty easy to get the latest build and then setup a page in minutes (if not seconds!) and I enjoyed so much this lib for that simplicity: no build, etc.

Describe the solution you'd like

I want a live example that is not en embedded iframe from a service that is making some magic typescript imports and so on.

A basic HTML + CSS + JS that works and that I can copy and reuse easily without npm install-ing things or building anything. It would also point to correct dist files because it's quite cumbersome to go get these now.

Describe alternatives you've considered

I tried by myself, for an hour or two, and then gave up to go back to the previous version. A bit more sad. At least I learned in the process that you have to launch a server to play with JS modules.

Documentation, Adoption, Migration Strategy

I would create a link from this page entitled “Standalone example”.

abaxterLHAC commented 11 months ago

I second this. I have been using the old 0.x Chartist.js and I will not be able to move on to the current version until a true standalone version is available. Many of us do not use any server-side JS frameworks and adding one to a production environment would be an unnecessary complication.

kornysietsma commented 7 months ago

Also note the current examples are effectively unusable on mobile devices