Print Page | Close Window

[Question] Custom Point Labels

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17587
Printed Date: 27 April 2024 at 4:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Question] Custom Point Labels
Posted By: jpbro
Subject: [Question] Custom Point Labels
Date Posted: 22 November 2010 at 5:36pm
Is there any way to customize the text that appears in a point label?

For example, I am using a stacked bar chart to show 3 values, each greater than the next (750, 1000, 2000). I would like them not to appear cumulatively/sequentially, but for each point to appear relative to 0 (or the origin of the X axis).

I can get the bars to appear as required if I use point values 750, 250, 1000 instead of 750, 1000, 2000, but then the values displayed are not what I require.

If I can display custom text in the labels, then I can use 750, 250, 1000 for the point values and then use 750, 1000, 2000 for the label values.

Is this possible? Or perhaps even better would be a style option for the stacked bar chart that let's the bar widths be calculated relative to the axis rather than relative to the previous bar point value.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Replies:
Posted By: jpbro
Date Posted: 22 November 2010 at 5:46pm
Found it - you can change the Series.Style.Label.Format property to any text that you need.



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: Oleg
Date Posted: 23 November 2010 at 3:02am
Hi,

Yes. Also we added Point.LabelText to allow manually set such text for each point individually.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: maestro1914
Date Posted: 12 December 2011 at 11:48pm
is it possible to have labels turned off for all but one point on a line chart?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net