Module: Nyaplot::Diagrams3D::Scatter

Includes:
ArrayType, Jsonizable
Defined in:
lib/nyaplot3d/diagram.rb

Instance Attribute Summary collapse

Method Summary

Methods included from MatrixType

#process_data

Methods included from Jsonizable

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

Instance Attribute Details

#fill_colorString

Returns the color which symbols are filled in.

Returns:

  • (String)

    the color which symbols are filled in



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])

#has_legendBoolean

Returns decide whether to add legend.

Returns:

  • (Boolean)

    decide whether to add legend



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])

#nameString

Returns the name of the plot.

Returns:

  • (String)

    the name of the plot



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])

#shapeString

Returns the shape of symbols. “circle”, “cross”, “rect”, and “diamond” are allowed.

Returns:

  • (String)

    the shape of symbols. “circle”, “cross”, “rect”, and “diamond” are allowed.



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])

#sizeNumeric

Returns the size of symbols.

Returns:

  • (Numeric)

    the size of symbols



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])

#stroke_colorString

Returns stroke color.

Returns:

  • (String)

    stroke color



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])

#stroke_widthNumeric

Returns the thickness of the stroke.

Returns:

  • (Numeric)

    the thickness of the stroke



105
# File 'lib/nyaplot3d/diagram.rb', line 105

define_group_properties(:options, [:name, :shape, :size, :stroke_color, :stroke_width, :fill_color, :has_legend])