How can I not overlay annotations on google charts?

2

I'm developing a line chart, where annotations are fixed, but some points get very close to each other, thus overlapping one label on the other.

I would like to know if you have any way to change the position of the labels in a dynamic or static way (positioning in different places)?

Remembering that you would like to leave them always fixed, that is, always appearing, without the need to place the mouse over the points for the information to appear.

Here is an example of how it is:

    
asked by anonymous 23.08.2016 / 15:32

1 answer

1

In options , within annotations , of your graph add alwaysOutside: true . It will leave the notes outside.

annotations: {
     textStyle: {
         color: 'black',
         fontSize: 11,
     },
     alwaysOutside: true
}

In this part of Documentation , talk about annotations .

    
09.09.2016 / 15:19