<?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 : Is this a bug?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : Is this a bug?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 21 May 2026 05:36:00 +0000</pubDate>
  <lastBuildDate>Tue, 30 Aug 2011 13:20:07 +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=18879</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[Is this a bug? : It&amp;#039;s my mistake. I found...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18879&amp;PID=66101&amp;title=is-this-a-bug#66101</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7026">kndol</a><br /><strong>Subject:</strong> 18879<br /><strong>Posted:</strong> 30 August 2011 at 1:20pm<br /><br />It's my mistake.<DIV>I found I miss this. ^^a</DIV><DIV>pSeries#-&gt;SetArgumentScaleType(xtpChartScaleNumerical);</DIV>]]>
   </description>
   <pubDate>Tue, 30 Aug 2011 13:20:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18879&amp;PID=66101&amp;title=is-this-a-bug#66101</guid>
  </item> 
  <item>
   <title><![CDATA[Is this a bug? :    I used data with different...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18879&amp;PID=66099&amp;title=is-this-a-bug#66099</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7026">kndol</a><br /><strong>Subject:</strong> 18879<br /><strong>Posted:</strong> 30 August 2011 at 12:34pm<br /><br /><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>I used data with different x value among series.</DIV><DIV>Then I found the chart control didn't display correctly.</DIV><DIV>In example, I changed some x axis data of the ChartBrowser sample code. (CLineView class)</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;CXTPChartSeries* pSeries1 = pCollection-&gt;Add(new CXTPChartSeries());<BR>&nbsp;&nbsp;if (pSeries1)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pSeries1-&gt;SetName(_T("New York"));</DIV><DIV>&nbsp;&nbsp;&nbsp;CXTPChartSeriesPointCollection* pPoints = pSeries1-&gt;GetPoints();<BR>&nbsp;&nbsp;&nbsp;if (pPoints)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;CXTPChartSeriesPoint* pPoint = NULL;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1900, 7268));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1950, 14830));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1990, 17990));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(2000, 18976));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(2008, 19490));<BR>&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp;pSeries1-&gt;SetStyle(new CXTPChartLineSeriesStyle());<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;CXTPChartSeries* pSeries2 = pCollection-&gt;Add(new CXTPChartSeries());<BR>&nbsp;&nbsp;if (pSeries2)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pSeries2-&gt;SetName(_T("California"));</DIV><DIV>&nbsp;&nbsp;&nbsp;CXTPChartSeriesPointCollection* pPoints = pSeries2-&gt;GetPoints();<BR>&nbsp;&nbsp;&nbsp;if (pPoints)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;CXTPChartSeriesPoint* pPoint = NULL;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1900, 1485));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1950, 10586));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1990, 29760));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(2000, 33871));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(2008, 36756));<BR>&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp;pSeries2-&gt;SetStyle(new CXTPChartLineSeriesStyle());<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;CXTPChartSeries* pSeries3 = pCollection-&gt;Add(new CXTPChartSeries());<BR>&nbsp;&nbsp;if (pSeries3)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pSeries3-&gt;SetName(_T("Florida"));</DIV><DIV>&nbsp;&nbsp;&nbsp;CXTPChartSeriesPointCollection* pPoints = pSeries3-&gt;GetPoints();<BR>&nbsp;&nbsp;&nbsp;if (pPoints)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;CXTPChartSeriesPoint* pPoint = NULL;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1900, 528));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1950, 2771));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(1990, 12937));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(2000, 15982));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(2008, 18328));<BR>&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp;pSeries3-&gt;SetStyle(new CXTPChartLineSeriesStyle());<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;CXTPChartSeries* pSeries4 = pCollection-&gt;Add(new CXTPChartSeries());<BR>&nbsp;&nbsp;if (pSeries4)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pSeries4-&gt;SetName(_T("Texas"));</DIV><DIV>&nbsp;&nbsp;&nbsp;CXTPChartSeriesPointCollection* pPoints = pSeries4-&gt;GetPoints();<BR>&nbsp;&nbsp;&nbsp;if (pPoints)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;CXTPChartSeriesPoint* pPoint = NULL;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(<FONT color=#0000ff>1925</FONT>, 3048));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(<FONT color=#0000ff>1976</FONT>, 7711));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(<FONT color=#0000ff>1993</FONT>, 16986));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(<FONT color=#0000ff>2005</FONT>, 20851));<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPoint = pPoints-&gt;Add(new CXTPChartSeriesPoint(<FONT color=#0000ff>2011</FONT>, 24326));<BR>&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp;pSeries4-&gt;SetStyle(new CXTPChartLineSeriesStyle());<BR>&nbsp;&nbsp;}<BR></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>I changed blue colored texts from original code. Then chart control displayed below:</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/7026/XTChartPro_Bug.png" height="620" width="739" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>I want to display these data correctly. How&nbsp;can I do?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 30 Aug 2011 12:34:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18879&amp;PID=66099&amp;title=is-this-a-bug#66099</guid>
  </item> 
 </channel>
</rss>