Hi Kimberly,

Your images are just links to your local file system, so we can't see
them.  You should insert the images instead of linking to them.

There is an option for annotations that forces all annotations to be
outside the bars.

annotations.alwaysOutside

In Bar
<https://developers.google.com/chart/interactive/docs/gallery/barchart> and
Column
<https://developers.google.com/chart/interactive/docs/gallery/columnchart>
charts,
if set to true, draws all annotations outside of the Bar/Column.
Type: boolean
Default: false

The options are documented under:
https://developers.google.com/chart/interactive/docs/gallery/barchart#configuration-options


On Mon, Dec 14, 2015 at 10:53 AM, Kimberly Segers <[email protected]
> wrote:

> Hi
>
> Im building a dashboard using google charts API. The thing is that when I
> try to add annotations to the graph it displays weird.
> I want to display the numbers inside the bars but sometimes I get these
> ... inside the bar. I tried to fix it using this :
>
> view.setColumns([0, 1, {
>       calc: "stringify",
>       sourceColumn: 1,
>       type: "string",
>       role: "annotation"
>     },
>
> But then the highest amount only is displayed inside the bar. I just want
> to have the amounts that doesn't fit the bar, displayed outside the bar
> like this.
>
>
> file:///Users/kimberlygysbrechtssegers/Desktop/Screen%20Shot%202015-12-14%20at%204.30.38%20PM.png
>
> When i display all the values outside the bar, the negative values are
> displayed weird. like this:
>
> file:///Users/kimberlygysbrechtssegers/Desktop/Screen%20Shot%202015-12-14%20at%204.44.48%20PM.png
>
>
> Is there a fix for only displaying the numbers outside the bars when it
> doesn't fit?
>
> Thanks in advance
>
> --
> 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/fde33700-5474-45a4-b89b-18ed1347216f%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/fde33700-5474-45a4-b89b-18ed1347216f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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/CAOtcSJP%2BjoR7Poy9gqySm4cr8YOkf-GeEVpjTe6Koy2UKQ6ozg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to