To install the plugin:
script/plugin install git://github.com/pullmonkey/open_flash_chart.git
Then, copy swfobject.js from the plugin's assets/ directory.
That's all. For coding steps, please refer to the link above.
"Code below extracted from pullmonkey.com"
open_flash_chart_object()
Usage:
This method returns only the graph html:@graph = open_flash_chart_object(....)
Arguments
- width (required)
- height (required)
- url (required)
- use_swfobject (optional and defaults to true)
- base (optional and defaults to "/")
- swf_file_name (optional and defaults to "open-flash-chart.swf")
No comments:
Post a Comment