<?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 : How to use SetDashArray in ChartLineStyle</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : How to use SetDashArray in ChartLineStyle]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 23:22:08 +0000</pubDate>
  <lastBuildDate>Mon, 12 Mar 2012 15:52:04 +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=19539</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[How to use SetDashArray in ChartLineStyle : Hi,Thanks for the very clear explanation....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19539&amp;PID=67797&amp;title=how-to-use-setdasharray-in-chartlinestyle#67797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1800">SimasJ</a><br /><strong>Subject:</strong> 19539<br /><strong>Posted:</strong> 12 March 2012 at 3:52pm<br /><br />Hi,<div><br></div><div>Thanks for the very clear explanation. Solved my problem completely.</div><div><br></div><div>Cheers,</div><div>Jose</div>]]>
   </description>
   <pubDate>Mon, 12 Mar 2012 15:52:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19539&amp;PID=67797&amp;title=how-to-use-setdasharray-in-chartlinestyle#67797</guid>
  </item> 
  <item>
   <title><![CDATA[How to use SetDashArray in ChartLineStyle :  DashArray you pass in an array...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19539&amp;PID=67746&amp;title=how-to-use-setdasharray-in-chartlinestyle#67746</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 19539<br /><strong>Posted:</strong> 06 March 2012 at 1:19pm<br /><br /><div>DashArray you pass in an array with the pattern to follow. &nbsp;It can be as short or long as you like. &nbsp;It will follow the pattern you specify, if you specify 3 segments, then it will repeat those 3 segments. &nbsp;If you specify 1 segment, it will repeat this 1 segment. &nbsp;You must specify BOTH segment length and gap length or else you will get only a solid line.</div><div><br></div><div>For example, this is a little bigger than the standard dash:</div><div><br></div><div>xLineStyle.LineStyle.SetDashArray (Array(5, 2))</div><div><br></div><div>this is the pattern:</div><div><br></div><div>SetDashArray (Array(Segment1 width, first gap width, Segment2 width, second gap width, etc, etc))</div><div><br></div><div>These are also valid:</div><div><br></div><div>xLineStyle.LineStyle.SetDashArray (Array(2, 1, 5, 2))</div><div>xLineStyle.LineStyle.SetDashArray (Array(2, 1, 5, 2, 8, 3))</div><div><br></div><div>Here is code:</div><div><br></div><div>&nbsp; &nbsp; Dim xLineStyle As ChartLineSeriesStyle</div><div>&nbsp; &nbsp; Dim nThickness As Integer</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; nThickness = 5</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Set xLineStyle = New ChartLineSeriesStyle</div><div>&nbsp; &nbsp; xLineStyle.LineStyle.DashStyle = xtpChartDashStyleCustom</div><div>&nbsp; &nbsp; xLineStyle.LineStyle.Thickness = nThickness</div><div>&nbsp; &nbsp; xLineStyle.LineStyle.SetDashArray (Array(5, 2))</div><div>&nbsp; &nbsp; Set ChartControl.Content.Series(0).Style = xLineStyle</div><div><br></div><div>Hope this helps</div>]]>
   </description>
   <pubDate>Tue, 06 Mar 2012 13:19:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19539&amp;PID=67746&amp;title=how-to-use-setdasharray-in-chartlinestyle#67746</guid>
  </item> 
  <item>
   <title><![CDATA[How to use SetDashArray in ChartLineStyle : Hi,I am sorry but I mistakenly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19539&amp;PID=67721&amp;title=how-to-use-setdasharray-in-chartlinestyle#67721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1800">SimasJ</a><br /><strong>Subject:</strong> 19539<br /><strong>Posted:</strong> 01 March 2012 at 12:25pm<br /><br />Hi,<div><br></div><div>I am sorry but I mistakenly posted this question in a different group. Here is the question:</div><div><br></div><div><div style="text-align: left; : rgb248, 248, 252; ">I would like to create a series using a Dash style wider than the standard ones. I found the method SetDashArray in the ChartLineStyle object which appears to be what I need but I cannot find any documentation about it. Would you please provide an example of its usage?</div><div style="text-align: left; : rgb248, 248, 252; "><br></div><div style="text-align: left; : rgb248, 248, 252; ">Best Regards,</div><div style="text-align: left; : rgb248, 248, 252; ">Jose Simas</div></div>]]>
   </description>
   <pubDate>Thu, 01 Mar 2012 12:25:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19539&amp;PID=67721&amp;title=how-to-use-setdasharray-in-chartlinestyle#67721</guid>
  </item> 
 </channel>
</rss>