I have a csv file created along with a google Bar graph.
The graph shows the annotation at top of the data.
But when I re-draw the graph using the csv function
I just get the bars and no annotation.
How do i save the annotation in the csv file, so that when
it is re-drawn i get the annoatation by :
$.get("https://www.pathfinder2.com/emelwebsite/template_b/graphs/files/<%=chart_name%>",
function(csvString) {
//
$.get("https://www.pathfinder2.com/emelwebsite/reports_custom/example.csv",
function(csvString) {
var arrayData = $.csv.toArrays(csvString,
{onParseValue:
$.csv.hooks.castToScalar}),
data = new
google.visualization.arrayToDataTable(arrayData),
options = {'title':'<%=This_name%>',
'width':1024,
'height':1268};
options.chartArea = { left: '38%', top: '8%', width: "60%", height: "75%"
};
// var view = new google.visualization.DataView(data);
Now the csv is shown correctly but without the annotation.
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/75e742af-dba1-4846-b8c3-e96694ebefbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.