So let me see if I have this correct: you want to create a chart like an 
AnnotatedTimeLine chart which calculates a sum of the data in the selected 
range and displays that sum in an annotation on the chart, correct?  This 
should be doable fairly easily.  It would help if you could describe 
exactly how you want this sum to appear on the chart, because traditionally 
annotations have to be associated with data points, not data ranges.

On Saturday, May 4, 2013 2:04:19 PM UTC-4, Pat M wrote:
>
> Hi I'm doing a college project.
> I'm storing values on a webservice (COSM).
> The values I am recording can be summed up to give a total value i.e. a 
> total of the number of units
> over the selected period.
> The idea is that as I select an area with the sliders the sum would be 
> displayed in an annotation of this summed total.
>
> http://code.google.com/apis/ajax/playground/?type=visualization#annotated_time_line
> would be the basic functionality .
>
> Another user has created a script to access the required COSM feed
> http://apps.pachube.com/google_viz/
>
> I would need to modify that viz.js to include an annotation that gives the 
> summed value as I select the range.
> Any ideas as to how to go about this ?
>
>
>

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to