def define_layout
super do |components|
components << Scruffy::Components::Title.new(:title, :position => [5, 2], :size => [90, 7])
components << Scruffy::Components::Label.new(:label_one, :text => self.options[:split_label] || '',
:position => [30, 54.5], :size => [40, 3])
components << Scruffy::Components::Viewport.new(:top, :position => [3, 20],
:size => [90, 30], &graph_block(:top))
components << Scruffy::Components::Viewport.new(:bottom, :position => [3, 65],
:size => [90, 30], &graph_block(:bottom))
components << Scruffy::Components::Legend.new(:legend, :position => [5, 11], :size => [90, 4])
end
end