google-charts

Google Charts API: Using a fixed set of datapoints

Is there a way to set the length of a data series using Google Charts i.e. send in 40 values and stipulate that the range is 256 values and have it plot the 40 values and leave room for (256-40) more values in the chart? To get the idea, think of a finance intraday chart, at 10 o clock it displays only the data that is gotten by that ti...

Google Chart - Bar Chart Stacked Data Point labels

Hi, I've been asked to change a bar chart to stacked. http://chart.apis.google.com/chart?chbh=24,0,0&chxp=2,200,600&chxtc=1,10|2,25&chxs=0,000000|1,000000|2,000000,12,-1,t,000000&chf=bg,s,d0d0d0&chxt=x,y,r&chxl=0:|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|2:|Yearly%20Target|Monthly%20Target&cht=bvs&chd=t:389,437,2...

Google Chart HtmlHelper for Asp.net Mvc

Hi, Are there any HtmlHelper Extensions for Google Chart Api? (I like to use for some basic charts, e.g. Pie Chart, Bar Chart) Soe Moe ...

Help with showing a simple graph using google chart

I'm pulling my hair out on this problem. I would like to show a very simple vertical bar graph which will represent the amount of sales during a week. So the data it would be fed is: Sunday: 200 Monday : 50 Tue: 500 Wed: 300 Thu: 145 Fri: 0 Sat: 976 This would only be for a single given week, and I want the graph to show the sales da...

Has anyone produced SPC charts with the Google Chart API?

I've decided to take the advice in this question: create-excel-chart-programmatically-in-php and NOT attempt to do graphics myself. I'd also like to follow the advice to use Google Charts API. This will be the first time for me. But I don't want to do an Excel chart — however much that might appeal to my co-workers who use Excel for ev...

how do I chart this data with the google chart api?

Hi I have a query that I have run with MySql and I need to chart the data. I would be grateful if someone can tell me how I can format the output using php and feed it to Google in the right way and with the syntax - I have tried everything but no joy. A code sample would be really useful if possible. Ideally I would like a line chart t...

how to convert query result to formatted string for google chart API

Hi all I have the results of a query on a wordpress site. The query results are::- h COUNT( * ) 0 7 1 5 2 2 The query is something like this this:- $sql = 'SELECT HOUR( `post_date` ) AS h, COUNT( * )' . ' FROM `wp_7tv8g5_posts`' . ' WHERE DATE( `post_date` ) = DATE( NOW( ) ) AND `guid`like \'%/questions/%\'' ...

How to customize the legend in Google Chart?

Hi, I need to specify labels (and associated colors) of a legend NOT in the same order as my data sets. Actually I have only one data set but I display my bar chart with 2 colors. Indeed, my dataset is an ordered value score associated to a person. If this person is from Group1, then the bar is displayed in blue otherwise it is displ...

Google Doc Api: Spreadsheets with Charts

Is there a way to automate the process of creating a chart within a google doc from a .NET application. The workflow I'm looking for is... Create Excel Document. Upload to Google Docs. Create charts on the spreadsheet. (Can't figure this out.) Publish using ACLs. (bonus) I'm not sure if I'm supposed to use the Google Chart API for t...

Please post some tutorials links on charts4j.

I have to generate charts on my Web application, and after getting the answer of Is there any free library which can be used to generate Graphs in J2EE environment?, i chose Chart4j for this purpose. The reason behind picking this api over JFreeChart is, its ease of use, and also i am tempted with chartle, which is using Chart4j. But the...

Using Rails googlecharts gem on HTTPS/SSL site

I am using the googlecharts gem in my rails app for some simple charting. It works beautifully, except my app is required to be SSL encrypted at all times. In order to pull the google charts, the charts gem of course makes an http request to google which leads to a browser warning about some insecure content on the page for most users. H...

Count number of times a date is in DB

Hi Im looking for some help creating a graph using the google chart API I have some idea of how i want to code it, but i need help turning psuedo into real code. I have a database with site users. Each user has a date that they joined. I want to count how many people join on each date, then put this into a string for the google chart ...

How to customize tooltips(text and Format) in Google Vizualization Bar Charts ?

I am using Google Visualization Bar Chart and I would like to customize or change the tooltip text and format that appears when clicking on a bar. I have been through documentation but I didn't find a way to implement this. Do you know: if it is possible? if yes, could you write me (or give me a link to) some code examples ? Thx,...

How to refresh a UIWebView without using reload (using google charts api)?

I'm using the Google chart api along with a UIWebView in my iPhone app. http://code.google.com/apis/chart/ In some cases, there's a delay in the load time of the chart since it's embedded in the page. When that occurs, the area on screen will be blank until a touch event occurs on the screen and it refreshes to display the chart. I ca...

Google Charts: chxl and bhg

http://chart.apis.google.com/chart?cht=bhg&chd=t:3771.5,3220|5508.25,5366.75& chs=400x200&chds=0,9000&chxt=x&chxr=0,0,9000& chm=N*cUSD2s*,000000,0,-1,11|N*cUSD2s*,000000,1,-1,11&chco=4D89D9,C6D9FD How to put label for each group? chxl=1:|Mean|Median - should do something like this, but result is nothing By groups I mean this...

Link points in google chart

I want to have individual points on a google chart to be linked to individual pages, hopefully with an informative popup. Given that the chart api returns an image, I don't see how this is possible (I would have to create an imagemap, but having the exact coordinates of the points in the image is close to impossible), but I ask just in c...

google api charts - show / hide lines

Hi, I use the google chart api (with jQuery Google Charting from Keith Wood). I have a chart with many lines, and I would like to know if it's possible to show / hide them to get a clearer chart. Thanks! ...

How to create Google Chart with lines (series) of different lengths?

How do I create a Google Line Chart that displays two or more lines, with a different number of data points in each series? For instance, I want to create a chart with 2 lines, one showing the expected values over time and another showing the actual values over time. The date range and expected values are known in advance so I can fully...

Problem with Google Chart

Hello, I'm developing an application which draws some charts and I'm using Google Chart. After I have all the needed data I build the URL dinamically. The problem is that Google Chart doesn't always fix the maximum and minimum of the chart to the values I provide. I calculate Max and Min Values based on the data of the cart. I've set th...

comparison of flot versus google charts

i am starting up a website that needs a lot of sophisticated multi line charts. I see two top candidates for the job Flot Google Charts Does anyone have any recommendations or preferences on this decision? ...