There isn't any way to add one that's labelled exactly like you want it, but you could add a line series to show the line. Here's an example of that: http://jsfiddle.net/bqyyv8bv/
However, that doesn't look great, nor does it look like what you requested, so we could add some buffer points to extend the line, like so: http://jsfiddle.net/bqyyv8bv/1/ But that creates a margin that we don't really want. We can set the hAxis viewWindow to get rid of it, like so: http://jsfiddle.net/bqyyv8bv/2/ Now all that's left is to label the line as 'max', which we can do using an annotation, like so: http://jsfiddle.net/bqyyv8bv/3/ However, the leading line doesn't look great to me, so we can set the 'annotations.stemColor' to 'none' to get rid of it, and use the stemLength option to control how far above the line to show it: http://jsfiddle.net/bqyyv8bv/4/ On Thu, Apr 2, 2015 at 10:43 AM Marcin Koperkiewicz <[email protected]> wrote: > > <https://lh3.googleusercontent.com/-Rp7pCU1c3jI/VR1VOYpV73I/AAAAAAAABjw/h1OxzdUzSiw/s1600/chart.png> > Hello, > > I need to add a "border line" in Column Chart that will say "max" and will > have some value. I marked on my screenshot what I'm trying to accomplish > (the line I want to add is pink). How can I do that? I will appreciate any > help. > > -- > 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 > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > -- 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 http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
