Hi,

1.  Go to http://code.google.com/apis/chart/image/docs/chart_wizard.html
and click on the vertical bar chart (top right corner with the green
vertical bars).
2.  Expand the "data" bar.  You will find 2 data sets inside, data set
1 and data set 2.  Have encoding set to "text" by clicking that
button.
3.  Notice that the "&chd=t..." field is highlighted indicating that
that is the data field.  Notice that chd=t: changes to chd=t1: when
either of the "visible" boxes are checked.  The chart on the wizard
page also changes.
4.  When pasted, the URL created shows a chart exactly like the one
shown on the wizard page whether or not the data is "visible".  e.g.
if both sets are visible, both sets of columns appear.  If one set of
data is visible, only that set appears.
5.  Now, when you click on "embed with visualization API", you get
full html to load the chart using javascript.  Save an html page (just
copy and paste the entire contents) with both sets set to "visible"
and another html page with only one set to "visible".  You will notice
that the "chd" parameter changes as expected, but the pages' charts
show up identically in the browser.  The expected result is two
different charts like the pasted URL gives you.

Let me know if this makes sense.

Thank you.


On Aug 3, 4:41 pm, duniyadnd <[email protected]> wrote:
> Can you provide an example? I'm a little unclear about what you are asking.
> Thanks

-- 
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