open-flash-chart

open flash chart in python/django

I am using open flash chart for chart development. I need to put my image in the chart as in this example. I am using python for the development, and I can't find help anywhere about it. Can anyone give me an example with the created json so that I can create for my own charts. ...

Open Flash Chart on Zend MVC Error

I recently downloaded the Open Flash Chart source code and I have intergrated it into my Zend MVC.Since I use the autoloader I have renamed my files and commented the "require_once" source lines. However when I try to load my chart <script type="text/javascript"> swfobject.embedSWF( "<?php echo $this->baseUrl() ?>/swf/open...

How do I get the "Install Missing Plugin" yellow bar to appear in firefox when flash is not installed?

My rails website uses the open_flash_graph plugin to generate flash graphs for my clients. If a customer doesn't have flash installed, it doesn't display any messages, it simply doesn't show any graphs. I've noticed that if I go to other websites that need flash, I get a yellow bar at the top of my firefox window that offers to "Instal...

open flash chart rails x-axis issue

Hey guys, I am using open flash chart 2 (the plugin) in my rails application. Everything is looking smooth except for the range on my x axis. I am creating a line to represent cell phone plan cost over a specific amount of usage and I'm generate 8 values, 1-5 are below the allowed usage while 6-8 are demonstrations of the cost for usage...

Open flash chart not working

I want to implement Open Flash Chart in my website but it doesn't work. The chart just start loading for a second and the loader animation disappear and nothing happening (Only a blank swf area). i've downloaded the latest version which is 2 and here is my folders scheme: // ROOT // ● JS ● open-flash-chart ● php-ofc-library - open-flash...

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 can i provide function as a url for ajax call

Hi guys, Here is my anchor tag, onclick of which i am going to call function which creates dataline chart: echo "<a id = \"#dhf\" class = \"graph_dhf\" href = \"javacript void(0)\" onclick=\"open_page('senddata($unm)', 'my_chart1');\">datalinechart</a>"; here open_page('url', target) function in ajax_navigation.js page which i set...

Is there any way to include legend in the graph chart produced by open flash chart2 ?

I am working on customizing the layout of OFC2 so it can be properly fit with my software. However, one of my concern of the chart is that, although it can generate multiple line graphs in the same pane, I haven't found where I could have the legend of the graph yet. (e.g. small description which tell that hollow purple line represent da...

Open Flash Chart 2 not showing in Ruby on Rails

My question is about my first Open Flash Chart not displaying at all in my Rails application (2.3.5 running on Vista). I am trying to implement: http://openflashchart2.heroku.com/chart_examples/pie. All the code is in but when I load the view using the server, there's nothing there! Pull up the blank page's source code and I see: sw...

A simple controller loop (including open flash chart)

I have a simple problem regarding a loop in a Rails controller. Here's the original sample code, the purpose of which is to specify the data to be used in an open flash chart (pie chart). #controller data_1 = [ OFC2::PieValue.new(:value => 20, :label => 'GroupA', :font_size => 15), OFC2::PieValue.new(:value => 30, :label => 'Grou...

Use High-charts, Open Flash Chart 2, Google Charts or what else !!!!

One web application of ours requires a feature of displaying charts in it. Basically we have to show different types of charts for different purposes such as pie charts to give information about some purpose,Bar charts for some other purpose whereas Complex charts for complex data.Note that this charts will be created dynamically dependi...

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

Open Flash Chart 2 - the ids are the same so multiples are not displaying

I can get one successful Open Flash Chart per view. I'm now trying to support multiple Open Flash Charts per view but the source code shows that the ids for both generated divs are the same: # javascript at top of view <%= javascript_include_tag "swfobject.js", :cache => true %> # view itself <%= @graph.html_safe %> # html_safe is ne...

Open Flash Chart not displaying data correctly

I can't get Open Flash Chart 2 to display some data, but it does display other data that is very close. This is the working set of data here { "elements": [ { "type": "line", "values": [ null, null, null, null, null, null, null, null, null, ...