<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Binding Microsoft Chart Control</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx</link><description>Overview When you add a new visualization in your application, the very first thing you do, is bind it to the data. Microsoft Chart control allows many different ways of populating data in the chart and it is important to understand the differences between</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Data Binding Microsoft Chart Control</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx#9547543</link><pubDate>Tue, 14 Apr 2009 02:50:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9547543</guid><dc:creator>templeton7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm trying to bind to nearly identical data source in your DataBindTable example but a &amp;quot;Specified method is not supported&amp;quot; exception is thrown. &amp;nbsp;I'm using an oracle data reader and the query returns 1 text column (my &amp;quot;x&amp;quot;) and 4 numeric columns.&lt;/p&gt;
&lt;p&gt;Any ideas why I'm getting this error? &amp;nbsp;Thanks.&lt;/p&gt;
</description></item><item><title>re: Data Binding Microsoft Chart Control</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx#9550962</link><pubDate>Wed, 15 Apr 2009 18:26:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9550962</guid><dc:creator>alexgor</dc:creator><description>&lt;p&gt;This maybe caused by the Reset() method we call internally in DataBindTable. Please make sure that data source you are using supports resetting.&lt;/p&gt;
&lt;p&gt;Alex.&lt;/p&gt;
</description></item><item><title>Problem with DataBindCrossTable, Empty between series</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx#9776666</link><pubDate>Thu, 18 Jun 2009 19:37:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9776666</guid><dc:creator>jmora</dc:creator><description>&lt;p&gt;I have: &lt;/p&gt;
&lt;p&gt;'datasource from a linq&lt;/p&gt;
&lt;p&gt;chart.DataBindCrossTable(query.ToList(), &amp;quot;Users&amp;quot;, &amp;quot;Month&amp;quot;, &amp;quot;Tries&amp;quot;, &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;'set the chart type to stacked column&lt;/p&gt;
&lt;p&gt;For Each serie As Series In chart.Series&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;serie.ChartType = SeriesChartType.StackedColumn&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;p&gt;It works fine, but...&lt;/p&gt;
&lt;p&gt;here an example of data (Month,Users,Tries)&lt;/p&gt;
&lt;p&gt;5,User1,10&lt;/p&gt;
&lt;p&gt;5,User2,50&lt;/p&gt;
&lt;p&gt;5,User3,8&lt;/p&gt;
&lt;p&gt;6,User1,4&lt;/p&gt;
&lt;p&gt;6,User4,20&lt;/p&gt;
&lt;p&gt;the first column its ok but WHEN the chart build the last serie(User4) the second column have a EMPTY SPACE between the first serie and the last.&lt;/p&gt;
&lt;p&gt;Try it!&lt;/p&gt;
&lt;p&gt;It happends with other chart type like normal bars. TNKS&lt;/p&gt;
</description></item><item><title>re: Problem with DataBindCrossTable, Empty between series</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx#9777525</link><pubDate>Fri, 19 Jun 2009 00:17:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9777525</guid><dc:creator>jmora</dc:creator><description>&lt;p&gt;Solve!&lt;/p&gt;
&lt;p&gt;this line solve the problem, (I don&amp;#180;t know why)&lt;/p&gt;
&lt;p&gt;chart.DataManipulator.InsertEmptyPoints(1, IntervalType.Number, seriesNames)&lt;/p&gt;
&lt;p&gt;where seriesNames is a string with the series names separate by commas &amp;quot;User1,User2,...&amp;quot;&lt;/p&gt;
&lt;p&gt;For more information see:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/a356d155-7f81-48c5-9d3c-b8d8fb7f2af4"&gt;http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/a356d155-7f81-48c5-9d3c-b8d8fb7f2af4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bye, &lt;/p&gt;
&lt;p&gt;Jaime Mora&lt;/p&gt;
</description></item><item><title>re: Data Binding Microsoft Chart Control</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx#9876323</link><pubDate>Thu, 20 Aug 2009 07:33:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9876323</guid><dc:creator>jbarsotti</dc:creator><description>&lt;p&gt;So what if people are manipulating the data in other areas of the form.&lt;/p&gt;
&lt;p&gt;Normally after a datachange you just call refresh on the form and all databound information gets updated.&lt;/p&gt;
&lt;p&gt;When I do this the chart stays stale and doesn't update till I call an explicit DataBind to rebind the data.&lt;/p&gt;
&lt;p&gt;Am I missing something?&lt;/p&gt;
</description></item><item><title>re: Data Binding Microsoft Chart Control</title><link>http://blogs.msdn.com/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx#9906193</link><pubDate>Mon, 12 Oct 2009 16:30:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9906193</guid><dc:creator>alexgor</dc:creator><description>&lt;p&gt;Binding and re-painting the chart can be a time consuming operation and chart does not automatically update itself on every data source change. You will need to re-bind the chart as nessesary when the data source is changed.&lt;/p&gt;
&lt;p&gt;Alex.&lt;/p&gt;
</description></item></channel></rss>