Jump to content
Software FX Community

Problem Modifying Point Label length

User (Legacy)

Recommended Posts

I'm using GetPointLabel event to intercept point label display for a

specific series and have come across a problem. It is for a Scatter series

and I am replacing the Y value already assigned to the Point Label with an X

Value. The X Axis is set to 0 decimal places and Y axis set to 4 decimal


In the event handler I replace hText with the relevant X Point Value

(remember, 0 dec places). After the chart is painted I get a control

character mixed in.

Example. hText has the X value of 150 assigned to it. Label is displayed as

"150x00" where x is a unprintable control character. If X value is 60, say,

the label is displayed as "60x000". Alternatively, if the length of X is

greater than the number of dec places assigned to the Y Axis, it is

truncated. I assume, it is the number of dec places assigned to the Y Axis

that is doing this? I don't really want to change the number of places for Y

just to achieve the effect I need.

Is there some property or bit I need to set so that the labels are correctly

displayed without the control character AND trailing ZERO's

Also, I just want to say a thank you to you guys on the support team for

helping me out so far. We've made huge progressions here with the

development of our next version using your ActiveX Control.


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