Dojo charting bug
So I think I found a dojo bug today. I have a chart that I am specifying the size with CSS. It was working great. Then I put the chart inside a TabContainer. If the ContentPane is not selected, the chart will render with the default size of 400 x 300. This is because the ContentPane with the chart is initially not visible.
I say I *think* I found a bug because I can understand why the size is defaulted. Dojo would have to somehow render an invisible page to it could check the CSS and parent CSS to get the sizes, margins, offsets, etc. of all of the page elements of an invisible page, just to get the size of the chart correct.
I say I *think* I found a bug because I can understand why the size is defaulted. Dojo would have to somehow render an invisible page to it could check the CSS and parent CSS to get the sizes, margins, offsets, etc. of all of the page elements of an invisible page, just to get the size of the chart correct.
Comments
Post a Comment