I'm using a stacked bar chart with annotations, with code almost exactly
like the example on the Google Charts Bar Chart page:
*var view = new google.visualization.DataView(data);
view.setColumns([0, 1,
{ calc: "stringify",
sourceColumn: 1,
type: "string",
role: "annotation" },
2]);*
The problem is that column 0 is the vaxis label, which apparently has a
value of "0", and this "0" is displayed at the end of the label as if it
were a bar with an annotation.
<https://lh3.googleusercontent.com/-fn4HUc5Lt6g/Vm8O0xj9eJI/AAAAAAAAHKE/wYaOwMCgyH4/s1600/2015-12-14_10-44-56.png>
I've tried using various combinations of *{ calc: "stringify",** sourceColumn:
1, **type: "string",** role: "annotation" }, *to change the value with no
effect.
--
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/28e972ab-1d94-4050-8e70-e8df0e717713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.