I am drawing a chart
<canvas id="mychart" width="421" height="280" class="chartjs-render-monitor" style="display: block; width: 421px; height: 280px;"></canvas>
How do I get the height in javascript
Ihave tried this
var ctx = document.getElementById(params.placeHolder);
console.log(ctx.height)
It's returning 150 instead of 280