Comments on: Open Flash Chart Plugin for Ruby on Rails http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/ Sun, 30 Aug 2009 00:14:11 +0000 hourly 1 https://wordpress.org/?v=5.6 By: Christian von Kleist http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-147 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-147 Awesome! Thanks for the great code. You should start a RubyForge project for it and maintain it as a gem! 🙂

]]>
By: charlie http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-148 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-148 Thanks for the support, I will see what I can do.

]]>
By: sam stein http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-149 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-149 hi,<br/><br/><br/>just started using the plugin and it’s great, wondering if there is a way to change the y axis labels to strings instead of nums. maybe like:<br/><br/> g.set_y_label_min(0)<br/> g.set_y_label_max(26)<br/> g.set_y_label_steps(26)<br/> g.set_y_labels([‘a’, …, ‘z’])<br/><br/>thanks, sam<br/><br/><br/>

]]>
By: charlie http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-150 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-150 Hmm. That is a good question. I will have to test this functionality, I think that generally the y labels are set based on the data values. Although, I am worried that the flash object may not know how to handle it. The flash object is designed and maintained by the people over here (the php version) – http://teethgrinder.co.uk/open-flash-chart/index.php. We will see though 🙂 I hope so, that would be great.

]]>
By: andrew http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-151 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-151 how do you set the bg_colour ?<br/><br/>ive tried everything.<br/>g.bg_colour(‘#E2E6E0’)<br/>g.bg_colour = ‘#E2E6E0′<br/>g.bg_color = ‘#E2E6E0′<br/><br/>seems to always have error and not show graph?<br/><br/>

]]>
By: charlie http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-152 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-152 Try g.set_bg_color(‘…’).

]]>
By: Vapor http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-153 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-153 I get these errors in log…<br/><br/>Processing BugController#js (for 127.0.0.1 at 2008-01-15 11:40:13) [GET]<br/> Session ID: 7adf1a6b4745f6a2c381fbc270da38c8<br/> Parameters: {"format"=>"js", "action"=>"js", "id"=>"ofc", "controller"=>"post"}<br/><br/>and…<br/><br/>ActionController::RoutingError (no route found to match "/post/open-flash-chart.swf" with {:method=>:get}):

]]>
By: charlie http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-154 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-154 @Vapor – you want open-flash-chart.swf to wind up like this /open-flash-chart.swf, not /post/open-flash-chart.swf, in the open flash chart object call, take out the post parts. If that does not work, post your code here or over at http://railsforum.com and I will take a look.

]]>
By: Martin M http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-155 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-155 I found a problem with the labels for the x-axis. Plus signs (+) are not shown in the labels, nor in tooltips containing #x_label#<br/><br/>Steps to reproduce: g.set_x_labels([‘Hello+World’])<br/><br/>I don’t know if this is a problem with the Rails plugin or with Open Flash Chart itself, but I thought I’d begin by posting about it here.

]]>
By: charlie http://pullmonkey.com/2008/01/04/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release/comment-page-1/#comment-156 Fri, 04 Jan 2008 00:38:00 +0000 /2008/07/25/open-flash-chart-plugin-for-ruby-on-rails-1-9-6-release#comment-156 Thank you, I will take a look.

]]>