Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Version 2 - Styling...

Open jbhorsewriter7 opened this issue 10 years ago • 3 comments

Somehow it appears that version 2 lost the incredible styling that version 1 has... is there any way to go back to the initial styling?

jbhorsewriter7 avatar Feb 11 '16 16:02 jbhorsewriter7

@jbhorsewriter7 which styling are you referring to?

etimberg avatar Feb 12 '16 01:02 etimberg

Like the borders and labels. I saw that you can pass in the font and size... they just don't look the same. Maybe it is just the variables that are being passed into the samples?

jbhorsewriter7 avatar Feb 12 '16 18:02 jbhorsewriter7

@jbhorsewriter7 it may be just the samples. We're still able to set the styling of all the elements such as the stroke color, stroke width, etc. A number of the styles got renamed to make them more consistent between chart types. You can take a look at the v2 docs http://nnnick.github.io/Chart.js/docs-v2/ for all of the options.

etimberg avatar Feb 15 '16 16:02 etimberg