markapp icon indicating copy to clipboard operation
markapp copied to clipboard

Add Charts.css

Open ramiy opened this issue 4 years ago • 7 comments

See ChartsCSS.org for more information.

ramiy avatar Oct 21 '20 17:10 ramiy

Hi there,

This looks like a super interesting project! I've always wanted to make something like this, glad someone else did! However, it looks like it's a bit too early stage right now, as it only seems to support bar charts in the latest release? If so, let's leave this open and ping me when it matures a little bit more?

LeaVerou avatar Oct 22 '20 14:10 LeaVerou

Sure @LeaVerou, no problem, I'll add few more chart types and contact you again.

If you have free time, you are welcome to contribute. I could use your skills. I've seen you seen your 2015 presentation and your Pie chart solution - very nice work, I love your way of thinking.

The problem is that everybody are trying to create charts with a single div or for very specific use cases. While I'm trying to create a framework. I do that with multiple elements (<table> tags). Multiple elements should be easier to work with, although creating a framework has it's own challenges, and I still struggle with some obstacles.

ramiy avatar Oct 22 '20 17:10 ramiy

Btw have you thought of using custom elements? They seem perfect for this use case and I've been on the lookout for a good custom element library for charts :)

LeaVerou avatar Oct 23 '20 10:10 LeaVerou

One of the framework Design Principles is No JavaScript - if it cannot be done using CSS, it won't be part of the framework. So no custom elements.

ramiy avatar Oct 24 '20 14:10 ramiy

Your link points to localhost :)

LeaVerou avatar Oct 26 '20 18:10 LeaVerou

:-)

https://ChartsCSS.org/development/design-principles/

ramiy avatar Oct 31 '20 13:10 ramiy

I see. I could argue that allowing JS for the inner workings (but not for usage) would empower people to do more as it would give non-JS developers the power to do things that require JS. But I also see some value in the non-JS rule, as it means these charts can be used in no-JS contexts, such as emails.

LeaVerou avatar Nov 03 '20 11:11 LeaVerou