codemancers / rbkit-chartjs

experimenting with rbkit-chartjs
1 stars 0 forks source link

Proposal: Updated layout and colors for charts #18

Open kgrz opened 9 years ago

kgrz commented 9 years ago

screenshot 2015-07-06 18 46 44

I have this modified style on the https://github.com/code-mancers/rbkit-chartjs/tree/try-out-wider-graphs branch. Will open a PR if this is a worthy change.

I wanted to show more information in the heap charts but if the data is too much, the X-label of the charts get rotated vertically. This will cause a change in the layout of graph and it's ugly. So by trail and error, I've managed to set the number of items on the line graphs to 25. I've also fiddled with the timestamp code so that the timestamps are shown at every 5 seconds, thereby making it a bit cleaner.

Other changes include a change in the border radius of the graph blocks.