Are the rules for positioning/placing annotations on bar charts documented 
anywhere? Specifically, on a stacked bar chart, what are the rules Google 
uses for positioning an annotation when the annotation is wider than the 
bar? If a bar is not wide enough for the annotation, Google moves it. I'd 
like to know the rules for this and how to circumvent them.

I'm using a mutation observer to center annotations on the bars of a 
stacked bar chart (see this StackOverflow post 
<https://stackoverflow.com/questions/43845104/moving-google-chart-column-annotation-position>).
 
This works well, except for when a bar is not wide enough to fit the 
annotation. When Google moves the label, it collides with the next one. I'd 
like to override Google's defaults to prevent annotations from overlapping.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/8718df8b-6812-4174-8bb2-979ee2b862d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to