Software FX Posted September 27, 2000 Report Share Posted September 27, 2000 If you set : m_pChartFX1->RGBBk = CHART_TRANSPARENT; You MUST process the PrePaint event or to draw your own background otherwise the chart will have no background and therefore leave whatever it was there. In the case of COD_SMOOTH, it will leave garbage as the background is never painted. -- Frank SFX "Ben" <freddg@netcomuk.co.uk> wrote in message news:i3drYRxIAHA.3056@sfxserver.softwarefx.com... > Hi > > We want to create a transparent chart in our program so we use this : > > m_pChartFX1->RGBBk = CHART_TRANSPARENT; > > but if we want to use this as well : > > m_pChartFX1->OpenDataEx(COD_VALUES 1, 2); > m_pChartFX1->ValueEx[0][0] = 50; > m_pChartFX1->ValueEx[0][1] = 50; > m_pChartFX1->CloseData((CfxCod)(COD_VALUES | COD_SMOOTH)); > > > it doesn't work ! We find the problem : it's COD_SMOOTH ! but we need it to > refresh properly our control (it's a PIE chart and values change all the > time) > > any ideas ? what do we have to do ? > > thanks > > frederic DG > VC++ 6, Windows 2000 > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.