<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : User-defined text for chart points, how?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : User-defined text for chart points, how?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 12:49:44 +0000</pubDate>
  <lastBuildDate>Fri, 16 Mar 2012 07:22:25 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=19578</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[User-defined text for chart points, how? : I&amp;#039;m using string IDs to construct...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19578&amp;PID=67811&amp;title=userdefined-text-for-chart-points-how#67811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6081">wssdev</a><br /><strong>Subject:</strong> 19578<br /><strong>Posted:</strong> 16 March 2012 at 7:22am<br /><br />&#091;XTP Toolkit 15.13, Windows 7 64-bit&#093;<br><br>I'm using string IDs to construct my chart points. It seems that there is no way to control what gets displayed along X axis for each point, because the chart uses precisely those string IDs and not some other text that I could eventually provide.  CXTPChartSeriesPoint offers no method for saying what should be displayed.<br><br>An example: if my point has an ID of "A/B/C/D" I wish to display something like "This is my point made of A,&nbsp; B, C and D". Now, I *could* use the text "This is my point made of A,&nbsp; B, C and D" as my ID but that would not solve the problem because I might actually display something entirely different from the passed ID. I might even need to have two points with different IDs but with the *same* text displayed for both points on X axis. <br><br>I know that there is an internal ID that is actually used for identifying points. I discovered that it is possible to set this ID programmatically to something unique and have (potentially) a non-unique string ID. However, when I do that, my internal IDs later get erased by this code in XTPChartScaleTypeMap.cpp<br><br>void CXTPChartQualitativeScaleTypeMap::UpdateSeriesPointArgument(CXTPChartSeriesPoint* pPoint)<br>{<br>&nbsp;&nbsp;&nbsp; pPoint-&gt;SetInternalArgument(ValueToInternal(pPoint-&gt;GetArgument()));<br>}<br><br>XTP code obviously enforces the relation between the string ID being displayed and the internal ID. That's something that perhaps should not be insisted upon. If the internal numeric ID is what is used to uniquely identify the point, why can't I set what I want for the text?<br><br>Note: I know that I can set custom labels and/or tooltips; what I want to change is the text along the X axis.<br><br>Thanks in advance for any help on how to solve this.<br><br><div ="active" title="Page Scroll Marker" id="PageScrollMarkerFriMar162012115103GMT0100RomanceStandardTime"><div style="top: 0px;">▼</div><div style="bottom: 0px;">▲</div></div>]]>
   </description>
   <pubDate>Fri, 16 Mar 2012 07:22:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19578&amp;PID=67811&amp;title=userdefined-text-for-chart-points-how#67811</guid>
  </item> 
 </channel>
</rss>