Stop illustrator's graph tool from flipping negative labels?
alanomaly Apr 16, 2013 3:04 AMI'm hardly the first to have issues with Illustrator's (CS6) creaking elderly graph tool, but this one is just silly.
It seems like any time you add column total labels to a chart with negative values, the labels for the negative values get printed flipped along the central axis of the chart, upside down or back to front.
I've created a bar chart (same issue exists with column charts) and given it automatic bar total labels using an adapted version of the method in the manual:
- I created an invisible rectange the size of the bar
- I added a horizontal guide just below the top of the bar
- I added a coloured rectangle the size of the bar
- I added text for (in my case) any number of significant figures, no decimal places (%00) as a label
- I grouped it all and saved it as a graph design, then selected the group of bars / columns and applied the design using Object > Graph > Column, selecting 'Sliding'
So, the 'design' looks like this:
So far so good... But the data for the chart includes negative numbers. The labels for negative numbers come out in exactly the right place, with a minus sign "-" correctly added... but they're all flipped horizontally / vertically. The negative labels are all back to front.
A few things I've tried:
- In my example, the text was rotated 90 degrees so the text labels would continue in the direction of the bars. I thought maybe this was causing the problem, and tried creating a design with non-rotated text: here, the negative labels ended up upside down, flipped in exactly the same way.
- I also tried a column chart, instead of a bar chart - same thing, ends up flipped, back to front or upside down.
- I've tried every option I can see (e.g. ticking and unticking "rotate legend"). Nothing seems to help.
I'm hoping for a way to stop Illustrator from automatically doing this.
That said, I can't even see any reasonable way to manually fix these without breaking the chart by ungrouping it: normally, I'd select each negative label using the direct selection tool holding shift, then use Transform Each to flip each one around its own axis. But, Transform Each just doesn't work on graphs or elements of graphs. Object > Transform > Reflect seems to work, but it a) requires the text to be centre-aligned, else the labels need to be moved as well as flipped, and b) takes ages to reflect every negative label one at a time for every chart every time the chart is updated.




