I'm trying to develop a responsive Bar Chart extension using d3.js for Qlik Sense. I have successfully created the bar chart. But there are a lot of issues regarding the responsiveness of the chart.
I have used paint function for handling all the data changes and resize function for rendering.
Now I'm dynamically calculating the width and size of the bars and scales. But I find difficulty in placing the axis label and titles and calculating the width/height and margins of it dynamically according to the extension width/height.
Any help is greatly appreciated
Thanks in advance.