Hey Michael,
Just looked at your code. I apparently didn't take a closer look at it when you posted the first time.
And yes, the jumping in your graph size is what I saw with my earlier code as well. The huge advantage of letting it jump is that when you're ready to use the chart, it looks better when there are many bars close together. Whereas avoiding the jumping and trying to get smoother resizing is more of a feel-good for the user while playing with the application.
When bar count is small or the dialog is very wide, the differences become less important.
I may revisit my code to allow the option to choose either approach.
Just looked at your code. I apparently didn't take a closer look at it when you posted the first time.
And yes, the jumping in your graph size is what I saw with my earlier code as well. The huge advantage of letting it jump is that when you're ready to use the chart, it looks better when there are many bars close together. Whereas avoiding the jumping and trying to get smoother resizing is more of a feel-good for the user while playing with the application.
When bar count is small or the dialog is very wide, the differences become less important.
I may revisit my code to allow the option to choose either approach.
Comment