10-17-2012 10:34 AM
10-17-2012 10:38 AM
Which proc are you using? Gchart, Gbarline, or one of the new SG procedures? (or other?)
And are you writing code, or using the EG interface?
10-17-2012 10:51 AM
Thank You so much for your quick response.
At present I am using proc gchart and yes I am writing code.
Please help if you have a solution for it.
10-17-2012 11:03 AM
Here's a basic example that demonstrates how to annotate a line onto a stacked gchart bar chart:
But one 'tricky' part will be that gchart will be summing up the bar segments for you and stacking them at the appropriate y-location, whereas in the annotate you'll need to calculate the summed/stacked y-coordinate yourself.
Perhaps it might be better to take a different approach - perhaps leave out the connecting lines, and let the bars touch, as in the following example: