Using The Google Visualisation API to Overlay a Bar Chart On Top Of A Line Chart
Hello
Does anyone know if it's possible to use the Google Visualisation API (in a Java program) to plot a graph consisting of a bar chart overlayed on top of a Line chart. Why would anyone want to do this you might ask? Well, I have some day trading signals I would like to plot. I'm currently using JFreechart to plot trading signals but it's not very well documented which kinda means you're on your own when you try to do anything that strays from the beaten path.Thanks in advance
PS: Sorry if my site is slow for you but this is due to the fact that it's hosted on an Amazon EC2 Micro Instance which gets severely throttled whenever traffic spikes (read Google crawls the pages) occur. Please be patient when you click on the link the cha开发者_开发知识库rt will load.... eventually 10 seconds
Google image chart tools can do this, but it will be a static chart (no interactive data points). Try this:
cht=bvg
chs=250x150
chxt=x,y
chd=t1:30,10,20,50,90|60,40,50,30
chm=D,000000,1,0,5,1
here: http://code.google.com/apis/chart/image/docs/chart_playground.html
There are a bunch of docs, and you should be able to generate the required URL in any language.
UPDATE:
I was incorrect; looks like Combo Chart was recently added to the js API. Does this do what you need?
精彩评论