timqian / chart.xkcd

xkcd styled chart lib
https://timqian.com/chart.xkcd/
MIT License
7.61k stars 200 forks source link

Plan for v1.1 #6

Closed timqian closed 4 years ago

timqian commented 4 years ago

Features

New charts

Bugs Fix

ianbruton commented 4 years ago

Hi! Great project!

My only suggestion at the moment would be to see if you can apply any antialiasing to the resulting chart, it will make the chart much more visually similar to xkcds sryle.

Keep up the great work

ChildishGiant commented 4 years ago

Would the API to update chart allow for the chart to be resized or do you mean update the data in the chart?

timqian commented 4 years ago

@ianbruton Thanks, I use SVG filter for now, which add the effect based on pixels. I will try to find ways to improve the effect in v1.2

@ChildishGiant The API to update the chart means updating the data.

By resizing, do you mean resizing the chart when window size changes? This sort of resizing should be automatically done, I might add it in v1.2

ChildishGiant commented 4 years ago

Yea I that's what I mean. Other chart libs need updating manually when scaling, glad to see this is planned