I am using angular-nvd3 horizontal bar charts. I need the size of the chart to be dynamically adjusted, so that the bars are of the same size always.
The current functionality is such that, on click of a bar in one bar chart another bar chart is created. The data passed to the bar second bar chart is dynamic, so the height cannot be set as a constant using the height property. If i give the height as a constant value, and the data passed is large, the bars become very thin to accommodate all the values.
Can you please suggest a method where the height can be set dynamically so that the bars are of equal height.
This is what i hope to achieve.