Google Visualization API has a wrapper for Google Chart API:

http://code.google.com/apis/visualization/documentation/gallery/genericimagechart.html

use google.visualization.ImageChart with options.cht = 'bhs' (or bvs,
for a vertical bar chart) instead of
google.visualization.ImageBarChart.  that might help with the dynamic
marker placement.

On Aug 24, 8:39 pm, kathb4 <[email protected]> wrote:
> Am am aware of of creating markers. I have that working somewhat
> through google charts versus google visualization, but it is not
> dynamic - it has to be placed "X" pixels from the left or whatever...
>
> Also tooltip isn't what I want.
>
> I am trying to do a graphic representation of a survey, and and where
> a logged in user's answer sits within that survey.
>
> Lets say the survey answers are
> 1. Steak
> 2. Chicken
> 3. Cheese
>
> I fill out the survey and choose cheese.
> I want then to view all the results as a horizontal stacked bar chart
> of the total of all the answers with a stacked bar representing each
> of the above.
> This I am able to do quite easily.
>
> Now  what I want to do, is on top of that bar, place a marker which
> represents where I, as the user who is logged in, falls.
> So I picked cheese - I want a marker to be placed somewhere over the
> bit of the bar which represents the cheese count.
>
> Thoughts?
> thanks
> K
>
> On 23 Aug, 08:02, MC Get Vizzy <[email protected]> wrote:
>
> > have a look at the following link:
>
> >http://code.google.com/apis/chart/styles.html#shape_markers
>
> > for a quick example, options.chm='o,FF9900,0,5,15' creates a circle marker
> > on the 5th data point of the first data column.
>
> > if you have further questions, reply to this thread.
>
> > On Sat, Aug 22, 2009 at 8:03 PM, ChartMan <[email protected]> wrote:
> > > The chart can display a tooltip when a bar is clicked. does this meet you
> > > requirement ? If not can you please describe your concrete need.
> > > ChartMan
>
> > > On Fri, Aug 21, 2009 at 11:58 AM, kathb4 <[email protected]> wrote:
>
> > >> I want to place a mark/marker in the middle of a stacked horizontal
> > >> barchart.  I keep seeing references to imagebarchart. So I got the
> > >> barchart up and working fine - now how do I add just a single marker
> > >> at some designated spot on that barchart?
>
> > >> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to