charts are resized to full screen

I’m following the basic example found at http://www.chartjs.org/docs/latest/getting-started/usage.html
the canvas size is initialized to 400px by 400px but after creating a char the canvas gets resized to 1905 by 1905 for some reason?

this is the initial canvas
<canvas id="myChart" width="400" height="400"></canvas>

this is the rendered canvas
<canvas id="myChart" width="1905" height="1905" class="chartjs-render-monitor" style="display: block; width: 1905px; height: 1905px;"></canvas>

Author: Fantashit

1 thought on “charts are resized to full screen

Comments are closed.