I am currently working on a stacked bar data chart using Chart.js 2.0.2 and Angular-Chart 1.0.0 to display some information. My goal is to identify when the user reaches the bottom of the chart container, so that I can dynamically add more data while maintaining the aspect ratio (height/width) of the chart.
One problem I encounter is that Chart.js provides an iframe, making it difficult to add data without affecting the spacing between bars. Resizing the canvas does not seem to resolve this issue, even with the responsive option set to true.
Despite adjusting only the width of the chart wrapper programmatically, the height of the chart still changes unexpectedly due to its responsiveness behavior. Is there an alternative method to modify just the width of the chart while preserving the spacing between the bar charts?