Jump to content
Software FX Community

Re: Labeling Axis

User (Legacy)

Recommended Posts

I have one last question regarding your suggestion 

How do I put variable into the labeling command. You have suggested the



I noticed the L"StringLabel" is a wchar_t * type. How do I cast a AnsiString

variable or a char variable into this type. I have tried to cast a char

type to wchar_t first, then passing the reference of this wchar_t to wchar_t

* variable. I have run into access violation with this methond. Thank You!

Francisco Padron <frankp@softwarefx.com> wrote in message


> Looks like Borland/Inprise did it again ! For some reason when they


> the ActiveX, they left out some properties, in this case Label, I guess

> because it is a string array (beats me !). Anyway, the workaround is to

> call:


> ChartFX1->Legend[i] = L"StringLabel";


> or


> pAxis->set_Label(i,L"StringLabel");


> Frank



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