I was working with MSChart, modifying one of the graphs and decided I
wanted this particular chart to have an auto scale. I worked quite a
while with it, uttered a few obscenities directed at the usual suspects
and finally found I have to do an Application.DoEvents to get it to
honor the numbers is it telling it knows but ignores (charts the old
scale) until the next update.

Of course, by the next update, the message queue has been cleared and it
honors the new settings.

I still think that MSChart is somewhat of the ugly, stupid stepchild of
VB. It is VERY POORLY documented and (somewhat because of the poor
documentation) is very difficult to work with.

I do have it working after a few hours tinkering. Just a little tickler
for anyone else who finds MSChart seems to be ignoring your input -- put
a DoEvents in and it will catch up with you. It is the only control
that I have ever had to do that with and it took me a while to decide
that was the cure. Very foreign idea for me.

Mike

Re: Strange one in MSChart by Cor

Cor
Sun May 11 02:20:52 CDT 2008

Hi,

I have looked at the documentation on MSDN, and in my opinion you are right,
however this is not the place to do something about that.

There is a special website for that.
http://connect.microsoft.com/

Cor



<Just_a_fan@home.net> schreef in bericht
news:msuc24ptl1jg6boqo8eapjf36ogt7qm0rb@4ax.com...
>I was working with MSChart, modifying one of the graphs and decided I
> wanted this particular chart to have an auto scale. I worked quite a
> while with it, uttered a few obscenities directed at the usual suspects
> and finally found I have to do an Application.DoEvents to get it to
> honor the numbers is it telling it knows but ignores (charts the old
> scale) until the next update.
>
> Of course, by the next update, the message queue has been cleared and it
> honors the new settings.
>
> I still think that MSChart is somewhat of the ugly, stupid stepchild of
> VB. It is VERY POORLY documented and (somewhat because of the poor
> documentation) is very difficult to work with.
>
> I do have it working after a few hours tinkering. Just a little tickler
> for anyone else who finds MSChart seems to be ignoring your input -- put
> a DoEvents in and it will catch up with you. It is the only control
> that I have ever had to do that with and it took me a while to decide
> that was the cure. Very foreign idea for me.
>
> Mike
>


Re: Re: Strange one in MSChart by Just_a_fan

Just_a_fan
Mon May 19 15:59:53 CDT 2008

I can't find anyone home at this URL (404s). Any update?

http://connect.microsoft.com/

or maybe they are just down at this moment.

Mike

On Sun, 11 May 2008 09:20:52 +0200, in
microsoft.public.dotnet.languages.vb "Cor Ligthert[MVP]"
<notmyfirstname@planet.nl> wrote:

>Hi,
>
>I have looked at the documentation on MSDN, and in my opinion you are right,
>however this is not the place to do something about that.
>
>There is a special website for that.
>http://connect.microsoft.com/
>
>Cor
>
>
>
><Just_a_fan@home.net> schreef in bericht
>news:msuc24ptl1jg6boqo8eapjf36ogt7qm0rb@4ax.com...
>>I was working with MSChart, modifying one of the graphs and decided I
>> wanted this particular chart to have an auto scale. I worked quite a
>> while with it, uttered a few obscenities directed at the usual suspects
>> and finally found I have to do an Application.DoEvents to get it to
>> honor the numbers is it telling it knows but ignores (charts the old
>> scale) until the next update.
>>
>> Of course, by the next update, the message queue has been cleared and it
>> honors the new settings.
>>
>> I still think that MSChart is somewhat of the ugly, stupid stepchild of
>> VB. It is VERY POORLY documented and (somewhat because of the poor
>> documentation) is very difficult to work with.
>>
>> I do have it working after a few hours tinkering. Just a little tickler
>> for anyone else who finds MSChart seems to be ignoring your input -- put
>> a DoEvents in and it will catch up with you. It is the only control
>> that I have ever had to do that with and it took me a while to decide
>> that was the cure. Very foreign idea for me.
>>
>> Mike
>>