<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.softwarefx.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>Extensions</title><link>http://community.softwarefx.com/forums/19.aspx</link><description>Statistical, OLAP, Maps, Financial</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Statistical chart - series visibility</title><link>http://community.softwarefx.com/forums/thread/25894.aspx</link><pubDate>Thu, 13 Aug 2009 07:47:27 GMT</pubDate><guid isPermaLink="false">90815fe6-cc14-43f0-9e73-45c5463c6750:25894</guid><dc:creator>MJ27</dc:creator><slash:comments>0</slash:comments><comments>http://community.softwarefx.com/forums/thread/25894.aspx</comments><wfw:commentRss>http://community.softwarefx.com/forums/commentrss.aspx?SectionID=19&amp;PostID=25894</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have associated to series with a statistical histogram chart, namely series 1 and series 2. I am trying to set the visibility of the series to false by doing the following in code:&lt;/p&gt;&lt;p&gt;Chart.Series[1].Visible = false;&lt;/p&gt;&lt;p&gt;This series still shows up on the chart.&lt;/p&gt;&lt;p&gt;I am not having this issue with a normal chart like the sequential chart. For a normal chart doing the above will hide the series from the chart but the data for the series is still associated with the chart. i.e. in java script I can access the series on a UserCommand event like this:&lt;/p&gt;&lt;p&gt;var name = obj.Series.Item(1).Text ;&lt;/p&gt;&lt;p&gt;var dp = obj.Data.Item(0, 1); &amp;nbsp;&amp;nbsp; // obj.Data.Item(&amp;lt;series index&amp;gt;, &amp;lt;point index&amp;gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I did find something on the forum regarding &lt;a href="http://community.softwarefx.com/forums/p/7614/16651.aspx#16651" target="_blank"&gt;this issue&lt;/a&gt; but the fix, made the series invisible but that dis-associated the data for the series from the chart.&lt;/p&gt;&lt;p&gt;i.e. the suggested solution was:&lt;/p&gt;&lt;p&gt;Chart.Data.Series =&amp;nbsp; Chart.Data.Series - 1;&lt;/p&gt;&lt;p&gt;but the following code was throwing an error in java script: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;var name = obj.Series.Item(1).Text ;&lt;/p&gt;&lt;p&gt;var dp = obj.Data.Item(0, 1); &amp;nbsp;&amp;nbsp; // obj.Data.Item(&amp;lt;series index&amp;gt;, &amp;lt;point index&amp;gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, how do we make a series hidden for statistical chart. Is there some other procedure?&lt;/p&gt;&lt;p&gt;Any help would be really appreciated.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;MJ &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>