Initial Update Problem
Posted: Tue Jul 08, 2008 4:18 am
I'm using v8 ActiveX with VC6 in an MFC application.
I'm drawing a surface series representing topographical data and I'm adjusting Chart3DPercent or TimesZOrder to get my X / Y data roughly in proportion. I 'm adding a 'Rotate' tool in code too.
This seems to work reasonably well, but the initial update of my dialog (when it first opens) is 'wrong':
You can see that it isn't in the correct proportions.
If I then use the rotate tool to fractionally move the graph (the slightest click and drag), it "pops" to the correct size:
So, I have two questions...
1) How do I make my chart appear correctly as soon as my dialog opens?
I've tried RefreshData, Repaint, InternalRepaint and they don't work.
2) Is there any way to check if my whole chart is visible or to make sure that it is visible straight away i.e., auto-set the zoom so we can see the whole chart like this:
I'm drawing a surface series representing topographical data and I'm adjusting Chart3DPercent or TimesZOrder to get my X / Y data roughly in proportion. I 'm adding a 'Rotate' tool in code too.
This seems to work reasonably well, but the initial update of my dialog (when it first opens) is 'wrong':
You can see that it isn't in the correct proportions.
If I then use the rotate tool to fractionally move the graph (the slightest click and drag), it "pops" to the correct size:
So, I have two questions...
1) How do I make my chart appear correctly as soon as my dialog opens?
I've tried RefreshData, Repaint, InternalRepaint and they don't work.
2) Is there any way to check if my whole chart is visible or to make sure that it is visible straight away i.e., auto-set the zoom so we can see the whole chart like this: