Module: Nyaplot::Diagrams::Labels

Includes:
Jsonizable
Defined in:
lib/bionya/diagram.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Jsonizable

#before_to_json, #get_property, included, #init_properties, #set_property, #to_json

Instance Attribute Details

#colorArray<String>



49
# File 'lib/bionya/diagram.rb', line 49

define_group_properties(:options, [:color, :fill_by, :x, :text, :stroke_width, :layer, :text_size])

#fill_bySymbol



49
# File 'lib/bionya/diagram.rb', line 49

define_group_properties(:options, [:color, :fill_by, :x, :text, :stroke_width, :layer, :text_size])

#layerNumeric



49
# File 'lib/bionya/diagram.rb', line 49

define_group_properties(:options, [:color, :fill_by, :x, :text, :stroke_width, :layer, :text_size])

#stroke_widthNumeric



49
# File 'lib/bionya/diagram.rb', line 49

define_group_properties(:options, [:color, :fill_by, :x, :text, :stroke_width, :layer, :text_size])

#text_sizeNumeric



49
# File 'lib/bionya/diagram.rb', line 49

define_group_properties(:options, [:color, :fill_by, :x, :text, :stroke_width, :layer, :text_size])

Instance Method Details

#process_data(df, labels) ⇒ Object



51
52
53
54
# File 'lib/bionya/diagram.rb', line 51

def process_data(df, labels)
  x(labels[0])
  text(labels[1])
end