Jump to content
Software FX Community

PointMask property


User (Legacy)
 Share

Recommended Posts

Hi,

I'm trying to set the series name on the markers using the PointMask

property as follows:

ChartFX1.PointLabels = true;

ChartFX1.OpenDataEx(COD_VALUES, 1, 5);

ChartFX1.OpenDataEx(COD_INIVALUES, 1, 5);

for(i=0; i<cnt; i++)

{

dtmDate = new Date(rstADO(0));

ChartFX1.IniValueEx(0, i) = dtmDate.getVarDate();

dtmDate = new Date(rstADO(1));

ChartFX1.ValueEx(0, i) = dtmDate.getVarDate();

ChartFX1.SerLeg(i) = rstADO(2);

ChartFX1.PointLabelMask = "%s";

ChartFX1.PointLabelAlign = LA_CENTER;

rstADO.MovePrevious();

}

But I'm not getting the desired result. The resulting chart is as follows:

Instead the medecine name corresponding to each series need to appear as

pointlabels. If I use

ChartFX1.Series(0).PointLabels = true;

instead of

ChartFX1.PointLabelMask = "%s";

I can get the end dates displayed correctly but it is the medecine names

that I want to appear in there so that I needn't worry about displaying the

SerLegBox.

Do I make sense ?

Thanks,

Sri

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