Hi Laurence,
We have analysed your query. From that, we would like to let you know that the chart is responsive with respect to the width and height of its parent element, if its zero, then it will render with its default size(600 * 450). Hence we suggest you to provide width and height as inherit to achieve the height and width of parent div. We have also attached the code snippet for your reference. Please find the below code snippet, and screenshot.
Code Snippet:
<style>
.e-chart {
width: inherit !important;
height: inherit !important;
}
.e-accumulationchart {
width: inherit !important;
height: inherit !important;
}
</style> |
Screenshot:
If you still face this issue. kindly revert us with the following information which will be more helpful for further analysis and provide you the solution sooner.
- Please share the runnable sample.
- Share the details if you have done any other customization in your sample.
Regards,
Srihari M