This project has moved and is read-only. For the latest updates, please go here.

Hidden cells in graph

Dec 1, 2010 at 3:49 PM


I'm sorry for my poor english, but i'm French.

It's possible to have hidden cells in graph ?

In French :

Est-il possible d'avoir des cellus cachées dans un graphe ?

Si oui, comment ?



Best Regards.

Dec 2, 2010 at 3:55 PM


There is no property for changing "the show data in hidden..." checkbox by code, but I'll add that to my TODO list.

The easiest way to do this is to use a template with a graph that has the appropriate settings.

I had a quick look at it and if you dont want to use a template, here is a "hack" to remove the plotVisOnly tag from the ChartXml to "flip" the checkbox... 

XmlNamespaceManager ns=new XmlNamespaceManager(new NameTable());
var element = chart.ChartXml.SelectSingleNode("//c:plotVisOnly", ns);
if (element!=null) element.ParentNode.RemoveChild(element);

Replace the chart variable with your chart.
Dec 3, 2010 at 10:52 AM


I test this code.


Dec 3, 2010 at 11:14 AM

It's OK