I'm generating a bar chart and I want legend labels that start with a number ("1st Shift" etc.), but they don't work, I think because XML element names aren't allowed to start with a number:
Is there a way around that?
I'm generating a bar chart and I want legend labels that start with a number ("1st Shift" etc.), but they don't work, I think because XML element names aren't allowed to start with a number:
Is there a way around that?
Easy way:
More interesting options:
I don't know if HTML entities would work as leading characters on the legend labels. I suspect not because they start with an &.
| Name | HTML Entity |
|---|---|
| non-breaking space | |
| figure space |   |
| punctuation space |   |
| thin space |   |
| hair space |   |
More complicated, but giving you ultimate control, would be to use the configureChart extension function hook to set up exactly what you want.