MaxLabelsWidth() Failing in v3.2.2722
Posted: Mon Jun 25, 2007 2:50 pm
I just upgraded to v3 this morning and I am trying to run through our application to make sure that everything that worked in v2 for us now works the same in v3.
The first thing that I ran into is MaxLabelsWidth().
I am trying to ensure that the spacing of my axis label is correct depending on what the length of my largest label on my axis is.
The first time through my check of the MaxLabelsWidth() on my custom axis, it works fine and I see that it returns 15. Since this is less than my minimum distance of 30, I set CustomSize = 30.
The next time I come through (when I plot another series to this same chart) I am getting a Parameter Not Valid exception when I try to evaluate tchar.Axes.Custom[0].MaxLabelsWidth().
The axis is valid, the CustomSize still shows my 30 that I set previously but now this method will not properly execute.
Any idea what is going wrong with this?
This is the way I did this check in v2 and it worked just fine for me.
Any quick help you can give me on this problem would really be appreciate.
Thank.
Aaron
The first thing that I ran into is MaxLabelsWidth().
I am trying to ensure that the spacing of my axis label is correct depending on what the length of my largest label on my axis is.
The first time through my check of the MaxLabelsWidth() on my custom axis, it works fine and I see that it returns 15. Since this is less than my minimum distance of 30, I set CustomSize = 30.
The next time I come through (when I plot another series to this same chart) I am getting a Parameter Not Valid exception when I try to evaluate tchar.Axes.Custom[0].MaxLabelsWidth().
The axis is valid, the CustomSize still shows my 30 that I set previously but now this method will not properly execute.
Any idea what is going wrong with this?
This is the way I did this check in v2 and it worked just fine for me.
Any quick help you can give me on this problem would really be appreciate.
Thank.
Aaron