<?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 : COM - VB - XAML Scroll Chart Demo</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Samples and Demo Applications : COM - VB - XAML Scroll Chart Demo]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 10:52:13 +0000</pubDate>
  <lastBuildDate>Tue, 24 Jun 2008 09:59:33 +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=11037</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[COM - VB - XAML Scroll Chart Demo :    jpbro said: I was experimenting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37336&amp;title=com-vb-xaml-scroll-chart-demo#37336</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 24 June 2008 at 9:59am<br /><br /><FONT size=1><DIV><strong><FONT size=2><table width="99%"><tr><td><pre class="BBcode"></FONT></strong><DIV><strong><FONT size=2>&nbsp;</FONT></strong></DIV></FONT><FONT size=2>jpbro said: </FONT><FONT color=#ff0000><FONT size=2>I was experimenting with XAML/Markup and decided to try my hand at a scrolling line chart (something that could be useful in a bandwidth monitor, for example). The first thing I noticed was that the current XAML implementation doesn't seem to support antialiased line drawing (I'd like to be proved wrong on this though!), so I decided to fake it by drawing multiple lines of decreasing thickness and lightness. <BR>&nbsp;&nbsp;&nbsp; Once I got to this point, I figured I would make it respond to size &amp; maximum value changes as well, and then why not post it here as a demo for anyone who might have a need for such a thing...<BR>Enjoy (comments, questions and improvements are welcome!)<BR>(NOTE: Updated project below) </FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>jpbro said</FONT></DIV><DIV><FONT size=2>I updated the project to include an option to pause the scroller &amp; toggle the fake antialiasing...this allows you to easily see the difference between the plain XAML polyline, and the smoothed one.<BR></FONT></DIV><DIV><FONT color=#000000 size=2>Oleg said</FONT></DIV><DIV><FONT size=2>nice :) </FONT><DIV><FONT size=2>btw, we plan to add GDI+ drawing for Polyline/Ellispe/Polygon to have real antialiasing.</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>Aaron said:</FONT></DIV><DIV><DIV><FONT size=2>Comments: <img src="https://forum.codejock.com/smileys/smiley32.gif" border="0"></FONT></DIV><DIV><FONT size=2>Improvements: not yet, maybe in the future <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></FONT></DIV><DIV><FONT size=2>Questions:</FONT></DIV><UL><LI><FONT size=2>I see you use "points" to draw the line, if I would have an array (lets say 50000 (x,y for each line) can I use all "points" to draw a line? </FONT><LI><FONT size=2>Would it be possible to have a chart with multiple lines and different color for each line </FONT><LI><FONT size=2>Have&nbsp;scrollbars to scroll to a position you want?</FONT></LI></UL><DIV><FONT size=2>Thanks in advance</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><DIV><FONT color=#000000 size=2>jpbro said:</FONT></DIV><DIV><FONT size=2>Hi Aaron,<BR><BR>Glad you like the demo! As for your questions:<BR><BR>1) I'm not sure if there is a limit to the numbers of points you can use for drawing, I will experiment<BR>2) Multiple lines of different colours should be no problem at at (just using multiple Polyline elements with different Foreground attributes)<BR>3) There is a ScrollViewer element that allows you to scroll around, so it should be possible...<BR><BR>I'll give it a try and see what I can do.<BR></FONT></DIV><DIV><DIV><FONT color=#000000></FONT><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>jpbro said:</FONT></DIV><DIV><FONT size=2>Well, my tests seem to indicate that 50000 points are too many. I'm not sure what the limit is, but there is a byte length limit for the Points attribute of the Polyline element. Exceeding this cause the markup to be considered invalid.<BR><BR>You *might* be able to string multiple Polyline elements together to apppear as a single line however...I haven't tried this yet.<BR><BR>You can draw multiple lines of different colours, and add a scrollbar to the chart however. Here's a basic (and admittedly ugly) sample:<BR></FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>Oleg said:</FONT></DIV><DIV><FONT size=2>Chart with Markup is good idea to demonstrate Markup options. </FONT><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Here from 12.0.1 release:</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><a href="https://forum.codejock.com/uploads/20080621_014516_Markup.zip" target="_blank"><FONT size=2>Markup.zip</FONT></A><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Jason, Thanks for playing with Markup.</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>jpbro said:</FONT></DIV><DIV><FONT size=2>Thanks for the PDF...the charts look great with GDI+, so I definitely look forward to the 12.0.1 release! I saw it mentioned in another post that 12.0.1 was going to be out end of this week, but that has come and gone...Is it expected soon? I have a demo on Thursday, so a day or 2 in advance of that would be very good (assuming it's close)...<BR><BR>Thanks.</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT color=#000000 size=2>Oleg said:</FONT></DIV><DIV><DIV><FONT size=2>No, GDI+ will be added in 12.1.0 release :-(. 12.0.1 is maintance and will have only fixes.</FONT></DIV><DIV><BR><FONT color=#000000 size=2></pre></td></tr></table> </FONT></DIV></DIV></DIV></DIV></DIV></DIV></DIV></FONT>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 09:59:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37336&amp;title=com-vb-xaml-scroll-chart-demo#37336</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo : Hi,  No, GDI+ will be added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37172&amp;title=com-vb-xaml-scroll-chart-demo#37172</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 22 June 2008 at 2:39am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>No, GDI+ will be added in 12.1.0 release :-(. 12.0.1 is maintance and will have only fixes.</DIV>]]>
   </description>
   <pubDate>Sun, 22 Jun 2008 02:39:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37172&amp;title=com-vb-xaml-scroll-chart-demo#37172</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo : Hi Oleg,Thanks for the PDF...the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37165&amp;title=com-vb-xaml-scroll-chart-demo#37165</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 21 June 2008 at 3:45pm<br /><br />Hi Oleg,<br><br>Thanks for the PDF...the charts look great with GDI+, so I definitely look forward to the 12.0.1 release! I saw it mentioned in another post that 12.0.1 was going to be out end of this week, but that has come and gone...Is it expected soon? I have a demo on Thursday, so a day or 2 in advance of that would be very good (assuming it's close)...<br><br>Thanks.<br>]]>
   </description>
   <pubDate>Sat, 21 Jun 2008 15:45:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37165&amp;title=com-vb-xaml-scroll-chart-demo#37165</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo : Chart with Markup is good idea...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37147&amp;title=com-vb-xaml-scroll-chart-demo#37147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 21 June 2008 at 1:45am<br /><br />Chart with Markup is good idea to demonstrate Markup options. <DIV>&nbsp;</DIV><DIV>Here from 12.0.1 release:</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080621_014516_Markup.zip" target="_blank">Markup.zip</A>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Jason, Thanks for playing with Markup.</DIV>]]>
   </description>
   <pubDate>Sat, 21 Jun 2008 01:45:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=37147&amp;title=com-vb-xaml-scroll-chart-demo#37147</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo : Well, my tests seem to indicate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36960&amp;title=com-vb-xaml-scroll-chart-demo#36960</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 18 June 2008 at 9:26pm<br /><br />Well, my tests seem to indicate that 50000 points are too many. I'm not sure what the limit is, but there is a byte length limit for the Points attribute of the Polyline element. Exceeding this cause the markup to be considered invalid.<BR><BR>You *might* be able to string multiple Polyline elements together to apppear as a single line however...I haven't tried this yet.<BR><BR>You can draw multiple lines of different colours, and add a scrollbar to the chart however. Here's a basic (and admittedly ugly) sample:<BR><BR><a href="uploads/20080618_212449_XamlL&#111;ngChart.zip" target="_blank">uploads/20080618_212449_XamlLongChart.zip</A><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_005916_XAML_ChartingLo.bmp" border="0"><BR></DIV>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 21:26:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36960&amp;title=com-vb-xaml-scroll-chart-demo#36960</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo : Hi Aaron,Glad you like the demo!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36956&amp;title=com-vb-xaml-scroll-chart-demo#36956</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 18 June 2008 at 8:07pm<br /><br />Hi Aaron,<br><br>Glad you like the demo! As for your questions:<br><br>1) I'm not sure if there is a limit to the numbers of points you can use for drawing, I will experiment<br>2) Multiple lines of different colours should be no problem at at (just using multiple Polyline elements with different Foreground attributes)<br>3) There is a ScrollViewer element that allows you to scroll around, so it should be possible...<br><br>I'll give it a try and see what I can do.<br>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 20:07:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36956&amp;title=com-vb-xaml-scroll-chart-demo#36956</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo :   jpbro wrote:  Enjoy (comments,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36930&amp;title=com-vb-xaml-scroll-chart-demo#36930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 18 June 2008 at 10:32am<br /><br /><FONT size=2><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />&nbsp;&nbsp;&nbsp;&nbsp; </FONT><DIV><FONT size=2>Enjoy (comments, questions and improvements are welcome!):<BR></td></tr></table> </FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Comments: <img src="https://forum.codejock.com/smileys/smiley32.gif" border="0"></FONT></DIV><DIV><FONT size=2>Improvements: not yet, maybe in the future <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></FONT></DIV><DIV><FONT size=2>Questions:</FONT></DIV><UL><LI><FONT size=2>I see you use "points" to draw the line, if I would have an array (lets say 50000 (x,y for each line) can I use all "points" to draw a line? </FONT><LI><FONT size=2>Would it be possible to have a chart with multiple lines and different color for each line </FONT><LI><FONT size=2>Have&nbsp;scrollbars to scroll to a position you want?</FONT></LI></UL><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Thanks in advance</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 10:32:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36930&amp;title=com-vb-xaml-scroll-chart-demo#36930</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo :  nice :)   btw, we plan to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36752&amp;title=com-vb-xaml-scroll-chart-demo#36752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 15 June 2008 at 8:26am<br /><br />nice :) <div>&nbsp;</div><div>btw, we plan to add GDI+ drawing for Polyline/Ellispe/Polygon to have real antialiasing for the 12.1.0 release.</div>]]>
   </description>
   <pubDate>Sun, 15 Jun 2008 08:26:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36752&amp;title=com-vb-xaml-scroll-chart-demo#36752</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo : I updated the project to include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36745&amp;title=com-vb-xaml-scroll-chart-demo#36745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 14 June 2008 at 9:46pm<br /><br />I updated the project to include an option to pause the scroller &amp; toggle the fake antialiasing...this allows you to easily see the difference between the plain XAML polyline, and the smoothed one.<BR><BR><a href="uploads/20080614_214616_XamlScrollChart.zip" target="_blank">uploads/20080614_214616_XamlScrollChart.zip</A><BR><BR><DIV></DIV><DIV>&nbsp;</DIV><DIV>Output:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080624_005333_XAML_Charting.bmp" border="0"></DIV>]]>
   </description>
   <pubDate>Sat, 14 Jun 2008 21:46:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36745&amp;title=com-vb-xaml-scroll-chart-demo#36745</guid>
  </item> 
  <item>
   <title><![CDATA[COM - VB - XAML Scroll Chart Demo :  I was experimenting with XAML/Markup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36744&amp;title=com-vb-xaml-scroll-chart-demo#36744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11037<br /><strong>Posted:</strong> 14 June 2008 at 5:45pm<br /><br />I was experimenting with XAML/Markup and decided to try my hand at ascrolling line chart (something that could be useful in a bandwidthmonitor, for example). The first thing I noticed was that the currentXAML implementation doesn't seem to support antialiased line drawing(I'd like to be proved wrong on this though!), so I decided to fake itby drawing multiple lines of decreasing thickness and lightness. <br><br>Once I got to this point, I figured I would make it respond to size&amp; maximum value changes as well, and then why not post it here as ademo for anyone who might have a need for such a thing...<br><br>The project includes an option to pause the scroller &amp;toggle the fake antialiasing...this allows you to easily see thedifference between the plain XAML polyline, and the smoothed one.<br><br><a href="uploads/20080614_214616_XamlScrollChart.zip" target="_blank">uploads/20080614_214616_XamlScrollChart.zip</a><br><br><div>&nbsp;</div><div>Output:</div><div>&nbsp;</div><div><img src="uploads/20080624_005333_XAML_Charting.bmp" border="0"><br><br><br>Testing Results:<br><br>Well, my tests seem to indicate that 50000 points are too many. I'm notsure what the limit is, but there is a byte length limit for the Pointsattribute of the Polyline element. Exceeding this cause the markup tobe considered invalid.<br><br>You*might* be able to string multiple Polyline elements together toapppear as a single line however...I haven't tried this yet.<br><br>Youcan draw multiple lines of different colours, and add a scrollbar tothe chart however. Here's a basic (and admittedly ugly) sample:<br><br><a href="uploads/20080618_212449_XamlL&#111;ngChart.zip" target="_blank">uploads/20080618_212449_XamlLongChart.zip</a><div>&nbsp;</div><div>&nbsp;</div><div>Output:</div><div>&nbsp;</div><img src="uploads/20080624_005916_XAML_ChartingLo.bmp" border="0"><br></div><br><br>Enjoy (comments, questions and improvements are welcome!):]]>
   </description>
   <pubDate>Sat, 14 Jun 2008 17:45:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11037&amp;PID=36744&amp;title=com-vb-xaml-scroll-chart-demo#36744</guid>
  </item> 
 </channel>
</rss>