Module: Nyaplot::Diagrams3D::Particles

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

#colorString

Returns the color which particles are filled in

Returns:

  • (String)

    the color which particles are filled in



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

define_group_properties(:options, [:name, :color, :size, :has_legend])

#has_legendBoolean

Returns decide whether to add legend

Returns:

  • (Boolean)

    decide whether to add legend



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

define_group_properties(:options, [:name, :color, :size, :has_legend])

#nameString

Returns the name of the plot

Returns:

  • (String)

    the name of the plot



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

define_group_properties(:options, [:name, :color, :size, :has_legend])

#sizeNumeric

Returns the size of particles

Returns:

  • (Numeric)

    the size of particles



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

define_group_properties(:options, [:name, :color, :size, :has_legend])