class AsposeSlidesCloud::ScatterChartDataPoint
Scatter chart (two-dimensional) data point
Attributes
X-value
Spreadsheet formula in A1-style.
Y-value
Spreadsheet formula in A1-style.
Public Class Methods
Source
# 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
Attribute mapping from ruby-style variable name to JSON key.
Calls superclass method
AsposeSlidesCloud::DataPoint::attribute_map
Source
# 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
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Calls superclass method
AsposeSlidesCloud::DataPoint::new
Source
# 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
Attribute type mapping.
Calls superclass method
AsposeSlidesCloud::DataPoint::swagger_types
Public Instance Methods
Source
# 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
Checks equality by comparing each attribute. @param [Object] Object to be compared
Source
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 116 def eql?(o) self == o end
@see the ‘==` method @param [Object] Object to be compared
Source
# 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
Calculates hash code according to all attributes. @return [Fixnum] Hash code
Source
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 85 def list_invalid_properties invalid_properties = super invalid_properties end
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
Source
# File lib/aspose_slides_cloud/models/scatter_chart_data_point.rb, line 92 def valid? return false if !super true end
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?