Class: Cosmos::SinglexyPlotEditor

Inherits:
XyPlotEditor show all
Defined in:
lib/cosmos/tools/tlm_grapher/plot_editors/singlexy_plot_editor.rb

Overview

Widget which contains the X-Y plot for editing

Constant Summary

Constants inherited from LinegraphPlotEditor

LinegraphPlotEditor::UTC

Instance Attribute Summary

Attributes inherited from PlotEditor

#plot

Instance Method Summary collapse

Methods inherited from XyPlotEditor

#plot

Methods inherited from LinegraphPlotEditor

#plot

Constructor Details

#initialize(parent, plot = nil) ⇒ SinglexyPlotEditor

Returns a new instance of SinglexyPlotEditor.



23
24
25
26
# File 'lib/cosmos/tools/tlm_grapher/plot_editors/singlexy_plot_editor.rb', line 23

def initialize(parent, plot = nil)
  plot = SinglexyPlot.new unless plot
  super(parent, plot)
end