Class: AsposeSlidesCloud::BubbleSeries
- Inherits:
-
XYSeries
- Object
- BaseObject
- Series
- XYSeries
- AsposeSlidesCloud::BubbleSeries
- Defined in:
- lib/aspose_slides_cloud/models/bubble_series.rb
Overview
A bubble series.
Instance Attribute Summary collapse
-
#data_points ⇒ Object
Gets or sets the values.
-
#data_source_for_bubble_size_values ⇒ Object
Data source type for Bubble size values.
-
#number_format_of_bubble_sizes ⇒ Object
The number format for the series bubble sizes.
Attributes inherited from XYSeries
#data_source_for_x_values, #data_source_for_y_values, #number_format_of_x_values, #number_format_of_y_values
Attributes inherited from Series
#data_point_type, #data_source_for_series_name, #effect_format, #explosion, #fill_format, #invert_if_negative, #inverted_solid_fill_color, #is_color_varied, #line_format, #marker, #name, #order, #plot_on_second_axis, #smooth, #type
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ BubbleSeries
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ BubbleSeries
Initializes the object
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 57 def initialize(attributes = {}) super if attributes.has_key?(:'DataPoints') if (value = attributes[:'DataPoints']).is_a?(Array) self.data_points = value end end if attributes.has_key?(:'NumberFormatOfBubbleSizes') self.number_format_of_bubble_sizes = attributes[:'NumberFormatOfBubbleSizes'] end if attributes.has_key?(:'DataSourceForBubbleSizeValues') self.data_source_for_bubble_size_values = attributes[:'DataSourceForBubbleSizeValues'] end self.data_point_type = 'Bubble' end |
Instance Attribute Details
#data_points ⇒ Object
Gets or sets the values.
29 30 31 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 29 def data_points @data_points end |
#data_source_for_bubble_size_values ⇒ Object
Data source type for Bubble size values.
35 36 37 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 35 def data_source_for_bubble_size_values @data_source_for_bubble_size_values end |
#number_format_of_bubble_sizes ⇒ Object
The number format for the series bubble sizes.
32 33 34 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 32 def number_format_of_bubble_sizes @number_format_of_bubble_sizes end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
38 39 40 41 42 43 44 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 38 def self.attribute_map super.merge({ :'data_points' => :'DataPoints', :'number_format_of_bubble_sizes' => :'NumberFormatOfBubbleSizes', :'data_source_for_bubble_size_values' => :'DataSourceForBubbleSizeValues', }) end |
.swagger_types ⇒ Object
Attribute type mapping.
47 48 49 50 51 52 53 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 47 def self.swagger_types super.merge({ :'data_points' => :'Array<BubbleChartDataPoint>', :'number_format_of_bubble_sizes' => :'String', :'data_source_for_bubble_size_values' => :'DataSource', }) end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 92 def ==(o) return true if self.equal?(o) self.class == o.class && type == o.type && name == o.name && data_source_for_series_name == o.data_source_for_series_name && is_color_varied == o.is_color_varied && inverted_solid_fill_color == o.inverted_solid_fill_color && smooth == o.smooth && plot_on_second_axis == o.plot_on_second_axis && order == o.order && invert_if_negative == o.invert_if_negative && explosion == o.explosion && marker == o.marker && fill_format == o.fill_format && effect_format == o.effect_format && line_format == o.line_format && data_point_type == o.data_point_type && number_format_of_y_values == o.number_format_of_y_values && number_format_of_x_values == o.number_format_of_x_values && data_source_for_x_values == o.data_source_for_x_values && data_source_for_y_values == o.data_source_for_y_values && data_points == o.data_points && number_format_of_bubble_sizes == o.number_format_of_bubble_sizes && data_source_for_bubble_size_values == o.data_source_for_bubble_size_values end |
#eql?(o) ⇒ Boolean
121 122 123 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 121 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
127 128 129 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 127 def hash [type, name, data_source_for_series_name, is_color_varied, inverted_solid_fill_color, smooth, plot_on_second_axis, order, invert_if_negative, explosion, marker, fill_format, effect_format, line_format, data_point_type, number_format_of_y_values, number_format_of_x_values, data_source_for_x_values, data_source_for_y_values, data_points, number_format_of_bubble_sizes, data_source_for_bubble_size_values].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
78 79 80 81 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 78 def list_invalid_properties invalid_properties = super invalid_properties end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
85 86 87 88 |
# File 'lib/aspose_slides_cloud/models/bubble_series.rb', line 85 def valid? return false if !super true end |