I am working on a software project that includes a chart with two x-axes and one y-axis. However, I am looking to reduce the size of the chart.
Although I attempted to adjust the width and height using "width: 50px" and "height: 50px", the resizing did not take effect. Additionally, I tried adding "responsive: true" to the chart settings, but that also proved unsuccessful. Is there a solution available for this issue?
Here is the current code in use:
JavaScript:
const data = { ... }
HTML:
<canvas id="chart"></canvas>
CSS:
#chart {
background: black;
padding: 20px;
border-radius: 30px;
margin-bottom: 50px;
width: 20px;
height: 20px;
}