openflashchart

What is wrong with my json data here?

Hi folks, I'm just doing a simple graph using Open Flash Chart http://teethgrinder.co.uk/open-flash-chart/ which shows the visits on my site. I have produced the following json data but I'm getting back a syntax error from this: &title=Traffic,{font-size: 20px; color: #736AFF}& &x_label_style=10,0x000000,0,2& &x_axis_steps=1& &y_legen...

Can anyone help me with the PHP Chart ?

I am trying to display Total Order Amount Per Day in the Present Month. $sql = "SELECT date(order_placed_date), COUNT(order_id), SUM(order_total) AS order_total FROM orders WHERE order_placed_date>=date_sub(current_date, INTERVAL 31 DAY) GROUP BY date(order_placed_date)"; if (!...

Is there an easy way for users to print Flash (Open Flash Charts) from their browser?

Is there any easy way to print Flash Charts (Open Flash Charts 2) within a web page. Flash doesn't seem to print at all. I'm maintaining a health site for a client, and we use Open Flash Charts to draw multiple line charts for patients dynamic data. The client would like for patients to be able to easily print these charts, although Fla...

jQuery + JSON + Open flash chart, how can I create a chart on the fly?

The JS SWFlocation = "open-flash-chart.swf"; getMyData = function() { $.post( myJsURL, { passedval: 1234 }, function (returned_json) { return returned_json; }, "json" ); } swfobject.embedSWF(SWFlocation, "myChartDiv", "650", "200", "9.0.0", "", {"get-data":"getMyData"} ); Using fir...

How to implement Open Flash Chart 2 on Symfony

I'm trying to use Open Flash Chart 2 on my symfony project by including the ofc2 library on one of my controller's action. Unfortunately it doesn't work. When i call the action it prints nothing :'( There is a plugin for this, but it uses an outdated version of OFC. Anyone have had any success showing Open Flash Chart 2 on their s...

Open Flash Chart 2 not understanding "steps" in Internet Explorer

Hi I have a problem with Open Flash Chart 2. It works like it should in FireFox, but in Internet Explorer my Y axis is all wrong. No matter if I set the "steps" or not, it is not accepted in IE. Then it just takes my "max" and creates 5 steps with some weird numbers like 11.6, 23.2, 34.8, 46.4 and 58. Why? My JSON that I pass to OFC2 l...

How to start x-axis labels(dates) from 0th position without using set_range(..)

Hi there, First of all, I am really a newbie for flash charts. I have problem in using it. I am developing an app which gets values from database for chart. I have a line on chart, there are dates on x-axis starting from 0th position. I have dates 03-06-2010 and 05-06-2010 right now and may increase in future. When I set range of 1 mont...

Open Flash Chart - tooltip #x_label# not showing.

Hi there, I'm currently playing with a bar chart implemented through Open Flash Charts (I believe version 1, might be version 2...) with PHP. Unfortunately, we're having real trouble with the tooltip not showing the correct thing. I am trying to get it to show the x-axis label for the hovered-over column, then a ":", then the value of t...

Open Flash Chart on IE 8

Hi, I'm using Open Flash Chart 2 to present graphs and charts in my website. I'm trying to load the JSON data for a chart from the same page. There are several ways to do that. Use get-data property of the chart and pass a javascript method that returns the json Use the open_flash_chart_data method which the flash chart knows to read...

Render OpenFlashChart image automatically within Rails

Hi, i've found this tutorial in the internet to render flash object (OpenFlashChart) as an image in PHP. http://teethgrinder.co.uk/open-flash-chart-2/save-image-js.php Unfortunately i've tried to do the very same thing but failed to do so, becauset of different implementation procedure in Rails. Does anyone here knows how to render o...