<?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 : Chart Pro connect line points with values only</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : Chart Pro connect line points with values only]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 06:50:14 +0000</pubDate>
  <lastBuildDate>Tue, 28 May 2013 18:39:38 +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=21680</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[Chart Pro connect line points with values only : Hi all,I&amp;#039;m brand new to the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21680&amp;PID=71003&amp;title=chart-pro-connect-line-points-with-values-only#71003</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8083">mfstuart</a><br /><strong>Subject:</strong> 21680<br /><strong>Posted:</strong> 28 May 2013 at 6:39pm<br /><br />Hi all,<div>I'm brand new to the Chart Pro ActiveX.<br><div>I've created a Chart Pro v15.3.1 Dashed Line chart with 7 X axis points. 3 of the points have values greater than zero and the other 4 equal zero.</div><div>I want a line to the 3 points with values greater than zero only, not have the chart draw the line to all the points.</div><div>How do I do that? Are there properties to set that?</div><div><br></div><div>Here's my VB6 code:</div><div><div>'=====</div><div>Option Explicit</div><div><br></div><div>Private Sub Form_Load()</div><div>&nbsp; &nbsp; AddTitle "Height-To-Age", myChart</div><div>&nbsp; &nbsp; AddHeightSeries</div><div>&nbsp; &nbsp; AddHeightAxis</div><div>End Sub</div><div><br></div><div>Private Sub AddTitle(ByVal Title As String, ByRef oChart As ChartControl)</div><div>&nbsp; &nbsp; Dim oContent As ChartContent</div><div>&nbsp; &nbsp; Dim oTitle As ChartTitle</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set oContent = oChart.Content</div><div>&nbsp; &nbsp; Set oTitle = oContent.Titles.Add("&lt;TextBlock FontSize='14px' Foreground='Blue'&gt;" &amp; Title &amp; "&lt;/TextBlock&gt;")</div><div>&nbsp; &nbsp; oContent.EnableMarkup = True</div><div>&nbsp; &nbsp; oContent.Legend.Visible = False</div><div>End Sub</div><div><br></div><div>Private Sub AddHeightSeries()</div><div>&nbsp; &nbsp; Dim Series As ChartSeries</div><div>&nbsp; &nbsp; Set Series = myChart.Content.Series.Add("Height")</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; With Series</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Name = "Height"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 24, 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 60, 34</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 96, 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 132, 51</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 168, 67</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 204, 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; .Points.Add 240, 0</div><div>&nbsp; &nbsp; End With</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Dim oStyle As ChartSplineSeriesStyle</div><div>&nbsp; &nbsp; Set oStyle = New ChartSplineSeriesStyle</div><div>&nbsp; &nbsp; oStyle.LineStyle.DashStyle = xtpChartDashStyleDash</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set myChart.Content.Series(0).Style = oStyle</div><div>End Sub</div><div><br></div><div>Private Sub AddHeightAxis()</div><div>&nbsp; &nbsp; Dim Diagram As ChartDiagram2D</div><div>&nbsp; &nbsp; Set Diagram = myChart.Content.Series(0).Diagram</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; If Not (Diagram Is Nothing) Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; With Diagram</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .AxisX.Title.Text = "Age Months"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .AxisX.Title.Visible = True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .AxisY.Title.Text = "Height Inches"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .AxisY.Title.Visible = True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End With</div><div>&nbsp; &nbsp; End If</div><div>End Sub</div></div><div>'=====</div></div>]]>
   </description>
   <pubDate>Tue, 28 May 2013 18:39:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21680&amp;PID=71003&amp;title=chart-pro-connect-line-points-with-values-only#71003</guid>
  </item> 
 </channel>
</rss>