Responsive chart

Hello all master, i cant solve this, chart not responsive
based on this topic https://discourse.hkvstore.com/t/responsive-chart-view-on-mobile/2011/1
i put this code inside php maker 2021.5 HTML Tab → Styles → user.ew-chart-container {
position: relative;
margin: auto;
height: 80vh;
width: 80vw;
}and this code also into Client Script - > Global → Page with header/footer, trying to change default maintainAspectRatio boelan value true to false$(document).ready(function(){
options = {
maintainAspectRatio: false,
};
});but chart remain same like before not responsive.
need your help please.

Ello21808 wrote:

$(document).ready(function(){
options = {
maintainAspectRatio: false,
};
});

Your code just set the options which is undefined (not options for a specific chart), you may refer to the examples under Chart Setup → Server Events and Client Scripts in the help file. (Assume v2021.)