Jump to content
Software FX Community

Hiding a serie and its panel.

User (Legacy)

Recommended Posts

I have a number of series, each one has its own pane, I'd like to let the 

user select what serie (and so what's pane) to see.

Series has Visible, but for the pane? do i need to remove it from

collection? (this will cause other series to go out of sync...)



Corrado Cavalli [Microsoft .NET MVP-MCP]

UGIdotNET - http://www.ugidotnet.org

Weblog: http://www.ugidotnet.org/710.blog

Link to comment
Share on other sites

In general, a pane may contain more than one series.

To remove a pane, simply do:

pane.Proportion = 0;

You need to make sure NO Visible series are attached to a pane with

Proportion Zero, or else you will get unexpected results.

To figure out which pane a series is attached to:

int nPane = chart1.Axis[series.YAxis].Pane;



Software FX

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...