Hi everyone,

I'm trying to use Google chart's ScatterPlot chart and i'm trying to get the
<map> code of a same chart. Now I'm able to get the map element:

<map name='ID_HERE'>
  <area name='axis0_0' shape='RECT' coords='21,136,28,144' href='#'  title=''>
  <area name='axis0_1' shape='RECT' coords='59,136,71,144' href='#'  title=''>
  <area name='axis0_2' shape='RECT' coords='99,136,111,144' href='#'  title=''>
  <area name='axis0_3' shape='RECT' coords='140,136,152,144' href='#'  title=''>
  <area name='axis0_4' shape='RECT' coords='180,136,192,144' href='#'  title=''>
  <area name='axis0_5' shape='RECT' coords='217,136,236,144' href='#'  title=''>
  <area name='axis1_0' shape='RECT' coords='14,126,20,134' href='#'  title=''>
  <area name='axis1_1' shape='RECT' coords='8,101,20,109' href='#'  title=''>
  <area name='axis1_2' shape='RECT' coords='8,76,20,84' href='#'  title=''>
  <area name='axis1_3' shape='RECT' coords='8,51,20,59' href='#'  title=''>
  <area name='axis1_4' shape='RECT' coords='8,26,20,34' href='#'  title=''>
  <area name='axis1_5' shape='RECT' coords='2,1,20,9' href='#'  title=''>
  <area name='legend0' shape='RECT' coords='237,62,249,74' href='#'  title=''>
  <area name='circle0' shape='CIRCLE' coords='49,8,4' href='#'  title=''>
  <area name='circle1' shape='CIRCLE' coords='200,56,1' href='#'  title=''>
  <area name='circle2' shape='CIRCLE' coords='176,97,3' href='#'  title=''>
  <area name='circle3' shape='CIRCLE' coords='107,88,4' href='#'  title=''>
  <area name='circle4' shape='CIRCLE' coords='71,60,2' href='#'  title=''>
  <area name='circle5' shape='CIRCLE' coords='218,32,5' href='#'  title=''>
  <area name='circle6' shape='CIRCLE' coords='162,58,3' href='#'  title=''>
  <area name='circle7' shape='CIRCLE' coords='168,38,5' href='#'  title=''>
  <area name='circle8' shape='CIRCLE' coords='93,108,3' href='#'  title=''>
  <area name='circle9' shape='CIRCLE' coords='43,36,3' href='#'  title=''>
</map>


But the thing is that i want to be able to click on every area and
show a rectangle layer which contains a bunch of information regarding
this area. i want to be able to click on every area and pass in a
parameter (some kind of id) so i have to name every areas with an id.
I'm thinking that google chart can accept some other information but i
couldn't find it. i'm trying something like this:


http://chart.apis.google.com/chart?chxt=x,y&chs=300x150&cht=s&chd=t:12,87,75,41,23,96,68,71,34,9|98,60,27,34,56,79,58,74,18,76|84,23,69,81,47,94,60,93,64,54|1,2,3,4,5,6,7,8,9,10&chof=json


The colored part is what i want to add so that this part can be
returned as part of the "name" or "title" property but it doesn't
happen. Does anyone know how to do this? Thank you very much.


Ted

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en.

Reply via email to