similar to: How to integrate Scruff Images

Displaying 20 results from an estimated 300 matches similar to: "How to integrate Scruff Images"

2007 Feb 19
2
Integrate scruffy graph in rails view?
Hi everybody, I''m using scruffy to create some graphs, and would like to integrate them into a regular view (i.e. show them in an <img> tag). However, I get errors when using img_tag, or the image doesn''t load if I try saving the graph to disk and then loading them in html. Generating the graph and linking to it works, however then I only have the graph open in a new
2007 Nov 05
0
Scruffy > MVC architecture?
Hi, I am a newby in rails...and i have read that scruffy is a great tool to create/display images. Now i find the code below for example... graph = Scruffy::Graph.new graph.title = "Comparative Agent Performance" graph.value_formatter = Scruffy::Formatters::Percentage.new(:precision => 0) graph.add :stacked do |stacked| stacked.add :bar, ''Jack'', [30, 60, 49, 29,
2006 Aug 18
1
How can I utilize this library within my Rails app?
How would I go about referencing the graphs that Scruffy generates within my Rails app? http://ibrasten.com/articles/2006/08/14/scruffy-0-2-0 Jim -- Posted via http://www.ruby-forum.com/.
2008 Feb 29
1
Scruffy Stacked Bar Chart
Hi- Trying to do a stacked bar chart, but nothing is rendering when I add more then 1 bar: This works: graph = Scruffy::Graph.new(:title => "My Chart") graph.add :stacked do |stack| stack.add(:bar, ''Stack1'', [10,10]) end This doesn''t: graph = Scruffy::Graph.new(:title => "My Chart") graph.add :stacked
2008 Jan 14
15
How to get a Window handle from another app?
Hello, I would like to get a window handle from another app outside of wxRuby and convert it into a wxRuby Window handle so that I can use it as the parent Window for several wxRuby child windows. Basically I want to use the FRAME_FLOAT_ON_PARENT window style so that my wxRuby windows become associated with the outside app kind of like toolbars, e.g., they don''t show up in the
2007 Aug 09
1
displaying svg chart
dear railers I was attempting to display a svg chart inside a tooltip in rails using Scruffy. my browser is Firefox 2 and i am using WEBRICK. when i render inside the controller using graph.render(:size=> [255,205], :to => ''C:\xyz.svg) and serve iit via rhtml using the <embed> tag. Instead of the chart inside the tooltip i get a dialog box asking me to open it ... with
2008 Feb 04
0
Scruffy Bar Chart Question
Hi- I have been using Scruffy for a couple days and it''s worked out really well. I am stuck though getting a bar chart to work with a single line. Here''s what I am doing: general chart stuff..graph.new...etc ... my_graph.add(:bar, ''GOAL'', [250,350]) my_graph.add(:bar, ''ACTUAL'', [150,200]) This works, but what I was is a SINGLE Bar with one
2007 Sep 11
1
LayoutConstraints upgrade path
Hey there. I have an application that I developed with an older branch of wxruby some time ago, and I made heavy use of the LayoutConstraints class. I''ve been looking around, but so far haven''t found much in the way of advice for this scenario. Is there any existing documentation as to updating such applications? Thanks, Ess -- SO not teh 1337
2008 Apr 29
0
follow-up on displaying graphs etc
Hi Just a quick follow-up on the recent thread about displaying images eg graphs generated by other libraries such as gnuplot, scruffy, rmagick etc. The upcoming 1.9.6 release of wxRuby will support loading images from arbitrary IO-like objects such as Files, Sockets and StringIO. Hopefully this will be easier and more direct than messing around with writing to and reading from Tempfiles.
2005 Jun 03
0
* found in Iraq!!
That's great.....it's a virus I tell you * is everywhere :) Viva la asterisk. Cheers, Dean > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Mark Phillips > Sent: Friday, 3 June 2005 6:46 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject:
2005 Jun 06
0
OT: WAS: * found in Iraq!! NOW: Asterisk bus iness sightings
So I go into a new Apple store on Sat to buy some stuff for my Mini, and I notice some Snom 360's on the sales counter. Venturing a question, I ask, are they using Asterisk? Guys says yes. Cool! I said: What kind of box are you using. He points to a Mini sitting on the counter! 2 X cool! He's using a SIP-FX0 converter. Plug: http://www.mymacdealer.com great store in Alberta. Anyone else
2015 Sep 11
2
automounter with users home directories on centos 7.
On Fri, 11 Sep 2015, Jason Welsh wrote: > ok, I have moved home out of the way and restarted automounter.. > and now I see the /home directory appear when autofs is started, but there is > still nothing there.. > > [root at server2 home]# cd /home > [root at server2 home]# ls > [root at server2 home]# cd jason > -bash: cd: jason: No such file or directory > [root at
2007 Feb 05
0
superclass mismatch for class OrderedOptions (TypeError)
ngw@adreadedsunnyday ~/projects/hotchalk$ script/server ./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use gem instead. /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:606: superclass mismatch for class OrderedOptions (TypeError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ custom_require.rb:27:in `gem_original_require'' from
2006 Jul 27
16
Net::LDAP 0.0.3 released, adds TLS encryption
We''re pleased to announce version 0.0.3 of Net::LDAP, the first pure-Ruby LDAP library. Net::LDAP intends to be a feature-complete LDAP client which can access as much as possible of the functionality of the most-used LDAP server implementations. This library does not wrap any existing native-code LDAP libraries, creates no Ruby extensions, and has no dependencies external to Ruby.
2006 Feb 08
2
Extending Rails classes
Whereabouts would I want to put a Ruby file that extends a Rails class? Say, adding a method to ActiveRecord::Base or something along those lines. I''ve read that those classes go in /lib, but my application doesn''t seem to see the changes I''ve made. Obviously I''m missing something... Any suggestions would be appreciated! -Brasten
2006 Jan 31
13
Acts_as_authenticated
Hello I have been trying a number of security/login generators recently. My favourite so far is the Acts_as_authenticated. I like the fact that it is only billed as a starting point and doesn''t try to do everything. I would like to add security roles to it, so that some of my controller actions can only be used by an admin role. Has anybody implemented this using
2006 May 20
3
integrate with php-script
I have built a webshop in rails, now it''s time for invoice handling through a third party. The communication will be done by xml-rpc. The built in ruby xml-rpc doesnt seem to be compatible with the third party so I have to use a special php-script (provided by the third party) that will handle the interaction with them. Where on the server should/can I put the script? I would prefer
2006 Mar 13
0
How to integrate layouts?
I am a newbie of rails and now am confused about the layouts'' integration. Suppose that in the current projects,I have imported the plugin of "Login Engine", and then created the scaffold files. now I want the default layout-- suppose to be "application.rhtml" to include both the module that the two module can be displayed on single page,how can I do with that?tks
2007 Sep 12
0
Problem with integrate()
Hello! I have a problem with integrate() in my function nctspa(). Integrate produces an error message "evaluation of function gave a result of wrong length". I don't know what that means. Could anyone suggest me what is wrong with my function? These are the examples of function calls that work OK: nctspa(a=1:10,n=5) nctspa(a=1:10, n=5, mu=2, theta=3, renorm=0) This does not work:
2010 Jul 22
0
how to integrate jasper reports in rails
Dear all, Can anyone help, How to call .jasper files in rails, how to integrate jasper reports in rails. with regards kiran -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this