View Single Post
  #1   Report Post  
Richard Ahlvin
 
Posts: n/a
Default Chart Legend Items: hide/show

How do I hide/show a series on a chart legend (scatter plot.)
I tried a null string (""), but the trace still shows. I also tried #N/A.
But it then shows "#N/A"; the same with function: NA(). What I am trying to
do is to have a control button to show or hide a series from the chart. I
can set all the series values to #N/A which hides it, but I am having
trouble trying to hide the legend for the series. I also tried an "if"
function in the chart-series dialog, but It evidently will only accept a
cell pointer.