Using TeeChart in PowerPoint
Posted: Fri Dec 08, 2006 12:41 am
Hi,
I am looking for ways to present some of the 3D charts generated by my application.
So I have been playing around with PowerPoint. I place the following controls on a slide:
- TeeChart Pro ActiveX control v7
- TeeChart Commander v7
I import a .tee file into the TChart.
The major problem is that when each time the slide is viewed, both controls get larger and larger. I can use Visual Basic code to set the size and location of each control but I am unsure where to put the code.
Neither of the two automatically generated functions seem appropiate:
TChart1_OnAfterDraw()
TeeCommander1_OnEditedChart()
Furthermore, I am not sure of the correct place to put the code for associating the toolbar with the chart. Currently it is in TChart1_OnAfterDraw, but I don't think this is correct.
I am a C++ programmer so my knowledge of Visual Basic is limited.
I'd be grateful for any advice,
Cheers
Russell Thamm
I am looking for ways to present some of the 3D charts generated by my application.
So I have been playing around with PowerPoint. I place the following controls on a slide:
- TeeChart Pro ActiveX control v7
- TeeChart Commander v7
I import a .tee file into the TChart.
The major problem is that when each time the slide is viewed, both controls get larger and larger. I can use Visual Basic code to set the size and location of each control but I am unsure where to put the code.
Neither of the two automatically generated functions seem appropiate:
TChart1_OnAfterDraw()
TeeCommander1_OnEditedChart()
Furthermore, I am not sure of the correct place to put the code for associating the toolbar with the chart. Currently it is in TChart1_OnAfterDraw, but I don't think this is correct.
I am a C++ programmer so my knowledge of Visual Basic is limited.
I'd be grateful for any advice,
Cheers
Russell Thamm