Skip to content

Conversation

ccoenen
Copy link

@ccoenen ccoenen commented Mar 12, 2015

you can now call Stats with this:

var stats = new Stats({bars: 200, barHeight: 70});

And get a 200px wide chart with a barHeight of 70px. The overall dimensions will be bigger, because of the padding. I specifically set the chart size and not the overall size, because i would not care about the outer dimensions for debugging. Also, i chose NOT to name the vars width and height, so that there is no confusion about what is being set.

@damy90
Copy link

damy90 commented Aug 7, 2019

Soo will this ever be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants