Page 1 of 1

display chart in MFC CScrollView.

Posted: Fri Feb 01, 2008 3:14 am
by 6919081
I want to make a chart whose width is depending on the number of data records.
that is ,the chart's width is not fixed.The more data I have ,the wider the chart is.
So I create a chart in CTestView deriving from CScrollView.
when the chart is larger than the window and I scroll the window to see the invisible part.all the chart is disappeared.There is nothing in the window.

I am a newer to teechart and vc++.
what should I do,if I want to create a large chart.

Posted: Mon Feb 04, 2008 11:58 am
by Pep
Hi Richard,

maybe adding an invalidate or repaint could be the trick, but in order to check it here, would you be so kind to sene me a simple example with which I can reproduce it here ? You can send me it directly to pep@steema.com

Posted: Tue Feb 05, 2008 2:24 am
by 6919081
have just send the code to you.
please check it.

Posted: Wed Feb 13, 2008 1:49 am
by 6919081
It is resolved.Thanks a lot.:)