I have a chart being in rendered into the following canvas.
Code: Select all
<tally-chart>
<canvas id="canvas1" height="500" style="border: 0px solid #808080;" oncl />
</tally-chart>
I currently have width set to 100% as follows.
Code: Select all
tally-chart {
display: flex;
width: 100%;
padding: 0;
border: none;
margin: 0;
height: 500px
}
tally-chart > canvas {
display: flex;
width: inherit;
height: inherit
}
Thanks