Permalink
Browse files

exporting won't work yet, but now looking at doing the beanplots

  • Loading branch information...
1 parent 3c5c469 commit a995ae1a11e8aeda025b1b04e66c94549d229f0e @ryanmt ryanmt committed Mar 13, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 app/controllers/msruns_controller.rb
  2. +1 −1 app/views/msruns/show.html.haml
@@ -10,7 +10,10 @@ def show
@h = LazyHighCharts::HighChart.new('hplc_plot') do |f|
f.option[:title][:text] = 'UPLC pressure trace'
f.option[:chart][:plotBackgroundColor] = nil
+ f.option[:chart][:zoomType] = 'xy'
f.options[:chart][:defaultSeriesType] = 'line'
+# TODO fix the exporting options (including exporting.js will be required)
+ #f.option[:exporting][:enabled] = true
f.series(name: "Qa (nL/min)", data: data[:qa], marker: {enabled: false}, turboThreshold: 10)
f.series(name: "Qb (nL/min)", data: data[:qb], marker: {enabled: false}, turboThreshold: 10 )
f.series(name: "Pc (psi)", data: data[:pc], yAxis: 1, marker: {enabled: false}, turboThreshold: 10)
@@ -15,4 +15,4 @@
%span#graphs
%h2 UPLC Pressure Trace
%div.hplcgraph
- = high_chart("hplc_graph", @h)
+ = high_chart("hplc_graph", @h)

0 comments on commit a995ae1

Please sign in to comment.