CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 02:28:52 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091205011035
location: https://web.archive.org/web/20091205011035/https://github.com/pullmonkey/open_flash_chart/tree/test
server-timing: captures_list;dur=0.836404, exclusion.robots;dur=0.028282, exclusion.robots.policy;dur=0.013592, esindex;dur=0.013418, cdx.remote;dur=39.547253, LoadShardBlock;dur=479.680818, PetaboxLoader3.resolve;dur=288.314076, PetaboxLoader3.datanode;dur=166.804468
x-app-server: wwwb-app212
x-ts: 302
x-tr: 582
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app212; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 23 Aug 2025 02:28:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 05 Dec 2009 01:10:35 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "95e95c91d263485340e13b046a9615dd"
x-archive-orig-x-runtime: 131ms
x-archive-orig-content-length: 29348
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 05 Dec 2009 01:10:35 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 04 May 2009 12:05:30 GMT", ; rel="prev memento"; datetime="Mon, 04 May 2009 12:05:30 GMT", ; rel="memento"; datetime="Sat, 05 Dec 2009 01:10:35 GMT", ; rel="next memento"; datetime="Wed, 06 Jan 2010 04:37:37 GMT", ; rel="last memento"; datetime="Fri, 28 Mar 2014 19:25:30 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20091204135515_crawl103-c/51_13_20091205010720_crawl101.arc.gz
server-timing: captures_list;dur=0.646843, exclusion.robots;dur=0.022065, exclusion.robots.policy;dur=0.008762, esindex;dur=0.013886, cdx.remote;dur=29.016308, LoadShardBlock;dur=305.378659, PetaboxLoader3.datanode;dur=401.023675, PetaboxLoader3.resolve;dur=117.048159, load_resource;dur=215.905406
x-app-server: wwwb-app212
x-ts: 200
x-tr: 607
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
pullmonkey's open_flash_chart at test - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | The ruby on rails plugin for teethgrinder's Open Flash Chart (version 2) edit |
Homepage: | https://pullmonkey.com/projects/open_flash_chart2/ edit |
Public Clone URL: |
git://github.com/pullmonkey/open_flash_chart.git
Give this clone URL to anyone.
git clone git://github.com/pullmonkey/open_flash_chart.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:pullmonkey/open_flash_chart.git
|
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Thu Jul 24 08:48:52 -0700 2008 | Initial commit [pullmonkey] |
![]() |
README | Fri Apr 17 08:36:04 -0700 2009 | use the -r flag to request a particular branch [pullmonkey] |
![]() |
Rakefile | Thu Jul 24 08:48:52 -0700 2008 | Initial commit [pullmonkey] |
![]() |
assets/ | Mon Apr 13 09:53:31 -0700 2009 | make it lean [pullmonkey] |
![]() |
init.rb | Mon Apr 13 10:52:17 -0700 2009 | some fixes [pullmonkey] |
![]() |
install.rb | Mon Apr 13 09:53:31 -0700 2009 | make it lean [pullmonkey] |
![]() |
lib/ | Thu Apr 30 09:27:34 -0700 2009 | the ohter examples need to be required too [pullmonkey] |
![]() |
test/ | Fri Nov 07 10:40:19 -0800 2008 | remove test app to separate it from the plugin [harryseldon] |
![]() |
uninstall.rb | Thu Jul 24 08:48:52 -0700 2008 | Initial commit [pullmonkey] |
README
OpenFlashChart Version 2.0.0 11/14/2008 ============== 1) rails ofc2_test_app 2) cd ofc2_test_app 3) script/plugin install https://github.com/pullmonkey/open_flash_chart.git -r test 4) script/generate controller test_it 5) Add the following to the test_it_controller.rb in RAILS_ROOT/app/controllers: class TestItController < ApplicationController def index respond_to do |wants| wants.html { @graph = open_flash_chart_object( 600, 300, url_for( :action => 'index', :format => :json ) ) } wants.json { chart = OpenFlashChart.new( "MY TITLE" ) do |c| c << BarGlass.new( :values => (1..10).sort_by{rand} ) end render :text => chart, :layout => false } end end end 6) Add the following to index.html.erb in RAILS_ROOT/app/views/test_it/: <html> <head> <script type="text/javascript" src="/javascripts/swfobject.js"></script> </head> <body> <%= @graph %> </body> </html> 7) script/server 8) Let me know how it goes, thanks. Example ======= # GOT THIS WORKING #$data = array(); data = [] #for( $i=0; $i<6.2; $i+=0.2 ) #{ # $tmp = sin($i) * 1.9; # $data[] = $tmp; #} (0..31).each do |x| data << Math.sin(x * 0.2) * 1.9 end #include '../php-ofc-library/open-flash-chart.php'; #$chart = new open_flash_chart(); #$chart->set_title( new title( 'Area Chart' ) ); chart = OFC::OpenFlashChart.new chart.title = OFC::Title.new(:text => "Area Chart") #// #// Make our area chart: #// #$area = new area(); area = OFC::Area.new #// set the circle line width: #$area->set_width( 2 ); area.width = 2 #$area->set_default_dot_style( new hollow_dot() ); area.dot_style = OFC::HollowDot.new #$area->set_colour( '#838A96' ); area.colour = '#838A96' #$area->set_fill_colour( '#E01B49' ); area.fill = '#E01B49' #$area->set_fill_alpha( 0.4 ); area.fill_alpha = 0.4 #$area->set_values( $data ); area.values = data #// add the area object to the chart: #$chart->add_element( $area ); chart.elements = [] chart.elements << area #$y_axis = new y_axis(); y_axis = OFC::YAxis.new #$y_axis->set_range( -2, 2, 2 ); y_axis.min = -2 y_axis.max = 2 y_axis.steps = 2 #$y_axis->labels = null; y_axis.lables = nil #$y_axis->set_offset( false ); y_axis.offset = 0 #$x_axis = new x_axis(); x_axis = OFC::XAxis.new #$x_axis->labels = $data; x_axis.labels = data #$x_axis->set_steps( 2 ); x_axis.steps = 2 #$x_labels = new x_axis_labels(); x_labels = OFC::XAxisLabels.new #$x_labels->set_steps( 4 ); x_labels.steps = 4 #$x_labels->set_vertical(); x_labels.rotate = 270 #// Add the X Axis Labels to the X Axis #$x_axis->set_labels( $x_labels ); x_axis.labels = x_labels #$chart->add_y_axis( $y_axis ); chart.y_axis = y_axis #$chart->x_axis = $x_axis; chart.x_axis = x_axis #echo $chart->toPrettyString(); render :text => chart.render Example above and more to follow here - https://www.pullmonkey.com/projects/open_flash_chart Copyright (c) 2008 PullMonkey, released under the MIT license
This feature is coming soon. Sit tight!