Home › Forums › Chart Support › Div rows are not aligned with chart horizontal rows › Reply To: Div rows are not aligned with chart horizontal rows
Can you make the height dynamic. Based on the number of rows in the left div, the height of the chart should be calculated like the below. I am already calculating and setting the height of the chart. But sometimes, the height of the chart is equal to the section rows. But when u increase/decrease the number of rows, the height is not getting calculated properly. Can you please make this dynamic and see. The issue still exists. Don’t hard code the height. As there will be many charts in the page and the height of each chart should be calculated based upon the number of section rows.
return (section) => section.sectionDetails.length * 23.1 + “px”;