class AsposeSlidesCloud::ScatterChartDataPoint
Scatter chart (two-dimensional) data point
Attributes
x_value[RW]
X-value
x_value_formula[RW]
Spreadsheet formula in A1-style.
y_value[RW]
Y-value
y_value_formula[RW]
Spreadsheet formula in A1-style.
Public Class Methods
attribute_map()
click to toggle source
Attribute mapping from ruby-style variable name to JSON key.
Calls superclass method
AsposeSlidesCloud::DataPoint::attribute_map
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 41 def self.attribute_map super.merge({ :'x_value' => :'XValue', :'y_value' => :'YValue', :'x_value_formula' => :'XValueFormula', :'y_value_formula' => :'YValueFormula', }) end
new(attributes = {})
click to toggle source
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Calls superclass method
AsposeSlidesCloud::DataPoint::new
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 62 def initialize(attributes = {}) super if attributes.has_key?(:'XValue') self.x_value = attributes[:'XValue'] end if attributes.has_key?(:'YValue') self.y_value = attributes[:'YValue'] end if attributes.has_key?(:'XValueFormula') self.x_value_formula = attributes[:'XValueFormula'] end if attributes.has_key?(:'YValueFormula') self.y_value_formula = attributes[:'YValueFormula'] end self.type = 'Scatter' end
swagger_types()
click to toggle source
Attribute type mapping.
Calls superclass method
AsposeSlidesCloud::DataPoint::swagger_types
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 51 def self.swagger_types super.merge({ :'x_value' => :'Float', :'y_value' => :'Float', :'x_value_formula' => :'String', :'y_value_formula' => :'String', }) end
Public Instance Methods
==(o)
click to toggle source
Checks equality by comparing each attribute. @param [Object] Object to be compared
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 99 def ==(o) return true if self.equal?(o) self.class == o.class && fill_format == o.fill_format && effect_format == o.effect_format && three_d_format == o.three_d_format && line_format == o.line_format && marker == o.marker && type == o.type && x_value == o.x_value && y_value == o.y_value && x_value_formula == o.x_value_formula && y_value_formula == o.y_value_formula end
eql?(o)
click to toggle source
@see the ‘==` method @param [Object] Object to be compared
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 116 def eql?(o) self == o end
hash()
click to toggle source
Calculates hash code according to all attributes. @return [Fixnum] Hash code
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 122 def hash [fill_format, effect_format, three_d_format, line_format, marker, type, x_value, y_value, x_value_formula, y_value_formula].hash end
list_invalid_properties()
click to toggle source
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Calls superclass method
AsposeSlidesCloud::DataPoint#list_invalid_properties
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 85 def list_invalid_properties invalid_properties = super invalid_properties end
valid?()
click to toggle source
Check to see if the all the properties in the model are valid @return true if the model is valid
Calls superclass method
AsposeSlidesCloud::DataPoint#valid?
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 92 def valid? return false if !super true end