Is there an easier way to align text on both sides of a canvas element besides using CSS? The link below might provide some insight: https://github.com/nnnick/Chart.js/issues/114#issuecomment-18564527
I'm considering incorporating the text into the drawing logic rather than manipulating it with CSS. What do you think?
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
ctx.fillRect(0, 0, canvas.width, canvas.height);
<div class="container-fluid">
<div class="row">
<div class="col-xs-4"></div>
<div class="col-xs-4">top text</div>
<div class="col-xs-4"></div>
</div>
<div class="row">
<div class="col-xs-4">left text</div>
<div class="col-xs-4"><canvas id="canvas" width="250" height="250"></canvas></div>
<div class="col-xs-4">right text</div>
</div>
<div class="row">
<div class="col-xs-4"></div>
<div class="col-xs-4">bottom text</div>
<div class="col-xs-4"></div>
</div>
</div>