Jump to content
Software FX Community

custom point labels


User (Legacy)

Recommended Posts

The Tag property if what will allow you to achieve what you are looking for:

set:

chart.PointLabels = TRUE;

if (pointValue <= 0)

pointLabel = "Data Not Monitored";

else

pointLabel = "SomeDataString";

chart.Point(i,j).Tag = pointLabel;

Then, to display the tag in the point label use the PointLabelMaskProperty

as follows:

chart.PointLabelMask = "%L";

You can also achieve this using Conditional Attributes, please refer to the

documentation for more information.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

The Tag property if what will allow you to achieve what you are looking for:

set:

chart.PointLabels = TRUE;

if (pointValue <= 0)

pointLabel = "Data Not Monitored";

else

pointLabel = "SomeDataString";

chart.Point(i,j).Tag = pointLabel;

Then, to display the tag in the point label use the PointLabelMaskProperty

as follows:

chart.PointLabelMask = "%L";

You can also achieve this using Conditional Attributes, please refer to the

documentation for more information.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...