Jump to content
Software FX Community

mapping mode


User (Legacy)
 Share

Recommended Posts

Hi ~

I'm sorry, I can't English very well... specially writting...

...

I have some trouble in using ChartFX Client/Server Component(trial version

5.1).

I created the Object without Window, and called Paint Method.

However there's no chart on my screen.

Details are as follow;

---------------

1) Developed using...

MS Windows 2000 Professional

MS Visual C++ 6.0 ( MFC )

2) the Way I created object is...

IChartFXPtr m_pChartFX ;

m_pChartFX.CreateInstance(__uuidof(ChartFX)) ;

3) the Way I Displayed chart is...

m_pChartFX->Paint((long)(pDC->m_hDC), 650, 650, 800, 800, CPAINT_BKGND, 0);

----------------

When Mapping mode is "MM_TEXT", there's no problem of displaying chart.

However, if I change the mapping mode to logical coordinates, - I need the

MM_LOMETRIC mapping mode -

the chart are not displayed on my screen and I can only see a background.

if I exchange the value of Top coordinates for that of Bottom coordinates,

the chart's displayed upsidedown and all of the fonts are broken(very

small).

1. Using MM_TEXT mapping mode

code...

-------------------------------------------------------------------

// set mapping mode

pDC->SetMapMode(MM_TEXT);

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.

Guest
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.

 Share

×
×
  • Create New...