LufiaMaxim
New Member
- Joined
- Jul 13, 2011
- Messages
- 16
I've got a graph and on one of the series, I've replaced the default datalabels with custom data labels.
Now for functionality, I've added a checkbox on my spreadsheet next to the graph to toggle these datalabels.
I've tried using HasDataLabels = True/False and DataLabels.ShowValue = True/False. Not sure if there's anymore ways to hide/show data labels, but that's what I've found so far.
In both cases, the data labels get reset, or, I lose my custom data labels. I toggle the labels off then on, and any formatting (I have my custom datalabels bold and 8pt font) is lost.
Is there any way to prevent this from happening? I know I COULD reapply the custom data labels, but we're talking about hundreds of data labels at this point and I'm worried about speed.
Now for functionality, I've added a checkbox on my spreadsheet next to the graph to toggle these datalabels.
I've tried using HasDataLabels = True/False and DataLabels.ShowValue = True/False. Not sure if there's anymore ways to hide/show data labels, but that's what I've found so far.
In both cases, the data labels get reset, or, I lose my custom data labels. I toggle the labels off then on, and any formatting (I have my custom datalabels bold and 8pt font) is lost.
Is there any way to prevent this from happening? I know I COULD reapply the custom data labels, but we're talking about hundreds of data labels at this point and I'm worried about speed.