Jump to content
Software FX Community

Re: My chart is NOT transparent ! why ?

Software FX

Recommended Posts

If you set :


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





"Ben" <freddg@netcomuk.co.uk> wrote in message


> Hi


> We want to create a transparent chart in our program so we use this :




> 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


> 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...