Jump to content
Software FX Community

Hide Series in Data Table vs. Chart


User (Legacy)

Recommended Posts

Is there a way to control which series are shown in the datatable vs. the 

chart. I recognize I can hide a series and it will not show in either the

table or the chart, but I would like to graph two series and show a single,

third series, in the table but not the graph.

If not, this would be another helpful feature in a future update.

Thanks

Link to comment
Share on other sites

So I found the property...

me.DataGrid.ShowHiddenSeries = true

Which looks like it will show ALL of the hidden series in the data table.

Is there a way to do this by series?

"jimmy" <rup207@aol.com> wrote in message

news:jD90Ze9yGHA.3960@webserver3.softwarefx.com...

> Is there a way to control which series are shown in the datatable vs. the

> chart. I recognize I can hide a series and it will not show in either the

> table or the chart, but I would like to graph two series and show a

> single, third series, in the table but not the graph.

>

> If not, this would be another helpful feature in a future update.

>

> Thanks

>

Link to comment
Share on other sites

Showing a hidden series in the datagrid is supported by doing:

chart.DataGrid.ShowHiddenSeries = true;

This will show all series in the datagrid regardless of whether or not they

are visible.

NOT showing in the DataGrid a series that is on the chart is currently not

supported. You can make the row for that series look different, maybe grayed

out by using:

chart1.DataGrid.Cells[1].TextColor = SystemColors.GrayText;

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Thank you for the help.

The ability to control visibility on a series-by-series basis for both the

chart & the data grid would be a nice addition.

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:F%23DRtNdzGHA.2980@webserver3.softwarefx.com...

> Showing a hidden series in the datagrid is supported by doing:

>

> chart.DataGrid.ShowHiddenSeries = true;

>

> This will show all series in the datagrid regardless of whether or not

> they are visible.

>

> NOT showing in the DataGrid a series that is on the chart is currently not

> supported. You can make the row for that series look different, maybe

> grayed out by using:

>

> chart1.DataGrid.Cells[1].TextColor = SystemColors.GrayText;

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

  • 5 years later...

Archived

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

×
×
  • Create New...