Skip to content

Commit

Permalink
simplified process for custom tooltips, add functionality for custom …
Browse files Browse the repository at this point in the history
…links for data points
  • Loading branch information
kevintyll committed Apr 19, 2010
1 parent de26e5b commit 60a3383
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/flot_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def flot_includes(options = {:jquery => true, :no_conflict => false, :include_al
#{javascript_include_tag('flotomatic/jquery.min.js') if options[:jquery]}
#{javascript_tag "jQuery.noConflict();" if options[:no_conflict]}
#{javascript_include_tag('flotomatic/jquery.flot.min.js')}
#{javascript_include_tag('flotomatic/jquery.flot.selection.min.js') if options[:include].eql?(:selection)}
#{flot_extra_javascripts if options[:include_all]}
#{javascript_include_tag('flotomatic/flotomatic')}
EOJS
Expand Down
13 changes: 13 additions & 0 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
file.reference.flotomatic-examples=examples
file.reference.flotomatic-generators=generators
file.reference.flotomatic-lib=lib
file.reference.flotomatic-spec=spec
file.reference.flotomatic-tasks=tasks
generators.dir=${file.reference.flotomatic-generators}
lib.dir=${file.reference.flotomatic-lib}
main.file=
platform.active=Ruby_0
source.encoding=UTF-8
src.dir=${file.reference.flotomatic-examples}
tasks.dir=${file.reference.flotomatic-tasks}
test.src.dir=${file.reference.flotomatic-spec}
18 changes: 18 additions & 0 deletions nbproject/project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.ruby.rubyproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/ruby-project/1">
<name>flotomatic</name>
<source-roots>
<root id="src.dir"/>
<root id="generators.dir"/>
<root id="lib.dir"/>
<root id="tasks.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>

0 comments on commit 60a3383

Please sign in to comment.