Jump to content
Software FX Community

Re: Assigning Legend Labels


User (Legacy)
 Share

Recommended Posts

Francisco Padron wrote in message ... 

>1) What's nSerie ? How many series are in this chart ? You may be going out

>of range when you do:

>

>ICfxSeriesPtr pSerie = m_pChartFX->Series->Item[nSerie+i];

nSerie ranges to about 20 (max) and the total number of series is (nSerie*3

+ 2). What is the maximum number of series?

>2) Are you creating another control in another dialog or in the same dialog

>? if in the same dialog make sure you specify a diferent ID for each one.

I'm creating a new control in another dialogbox, so there is no conflicts of

ID.

Meanwhile the problem is solved:

I changed the way I passed my license string from :

static const BSTR g_ChartFX_License = _bstr_t("aa <<removed>> gy");

into:

#define g_ChartFX_License ((BSTR)L"aa <<removed>> gy")

and now the setting of the legend labels and the ability to open the chart

multiple times work ok. I do not understand it but it works and I can

continue

doing my work.

Do you have an explanation for the described behaviour?

Thanks,

Rob Ursem

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