Class: AWSCDK::QuickSight::CfnDashboard::ScatterPlotConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ScatterPlotConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration of a scatter plot.
Instance Attribute Summary collapse
-
#data_labels ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine if visual data labels are displayed.
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field wells of the visual.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#legend ⇒ AWSCDK::IResolvable, ...
readonly
The legend display setup of the visual.
-
#sort_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of a scatter plot.
-
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The legend display setup of the visual.
-
#visual_palette ⇒ AWSCDK::IResolvable, ...
readonly
The palette (chart color) display setup of the visual.
-
#x_axis_display_options ⇒ AWSCDK::IResolvable, ...
readonly
The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.
-
#x_axis_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.
-
#y_axis_display_options ⇒ AWSCDK::IResolvable, ...
readonly
The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.
-
#y_axis_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_labels: nil, field_wells: nil, interactions: nil, legend: nil, sort_configuration: nil, tooltip: nil, visual_palette: nil, x_axis_display_options: nil, x_axis_label_options: nil, y_axis_display_options: nil, y_axis_label_options: nil) ⇒ ScatterPlotConfigurationProperty
constructor
A new instance of ScatterPlotConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_labels: nil, field_wells: nil, interactions: nil, legend: nil, sort_configuration: nil, tooltip: nil, visual_palette: nil, x_axis_display_options: nil, x_axis_label_options: nil, y_axis_display_options: nil, y_axis_label_options: nil) ⇒ ScatterPlotConfigurationProperty
Returns a new instance of ScatterPlotConfigurationProperty.
26025 26026 26027 26028 26029 26030 26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 |
# File 'quick_sight/cfn_dashboard.rb', line 26025 def initialize(data_labels: nil, field_wells: nil, interactions: nil, legend: nil, sort_configuration: nil, tooltip: nil, visual_palette: nil, x_axis_display_options: nil, x_axis_label_options: nil, y_axis_display_options: nil, y_axis_label_options: nil) @data_labels = data_labels.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DataLabelOptionsProperty.new(**data_labels.transform_keys(&:to_sym)) : data_labels Jsii::Type.check_type(@data_labels, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EYXRhTGFiZWxPcHRpb25zUHJvcGVydHkifV19fQ==")), "dataLabels") unless @data_labels.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ScatterPlotFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TY2F0dGVyUGxvdEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxJbnRlcmFjdGlvbk9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "interactions") unless @interactions.nil? @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MZWdlbmRPcHRpb25zUHJvcGVydHkifV19fQ==")), "legend") unless @legend.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ScatterPlotSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TY2F0dGVyUGxvdFNvcnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "sortConfiguration") unless @sort_configuration.nil? @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Ub29sdGlwT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "tooltip") unless @tooltip.nil? @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxQYWxldHRlUHJvcGVydHkifV19fQ==")), "visualPalette") unless @visual_palette.nil? @x_axis_display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::AxisDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@x_axis_display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5BeGlzRGlzcGxheU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "xAxisDisplayOptions") unless @x_axis_display_options.nil? @x_axis_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@x_axis_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "xAxisLabelOptions") unless @x_axis_label_options.nil? @y_axis_display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::AxisDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@y_axis_display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5BeGlzRGlzcGxheU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "yAxisDisplayOptions") unless @y_axis_display_options.nil? @y_axis_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@y_axis_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DaGFydEF4aXNMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "yAxisLabelOptions") unless @y_axis_label_options.nil? end |
Instance Attribute Details
#data_labels ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine if visual data labels are displayed.
26054 26055 26056 |
# File 'quick_sight/cfn_dashboard.rb', line 26054 def data_labels @data_labels end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
26059 26060 26061 |
# File 'quick_sight/cfn_dashboard.rb', line 26059 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
26064 26065 26066 |
# File 'quick_sight/cfn_dashboard.rb', line 26064 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
26069 26070 26071 |
# File 'quick_sight/cfn_dashboard.rb', line 26069 def legend @legend end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a scatter plot.
26074 26075 26076 |
# File 'quick_sight/cfn_dashboard.rb', line 26074 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
26079 26080 26081 |
# File 'quick_sight/cfn_dashboard.rb', line 26079 def tooltip @tooltip end |
#visual_palette ⇒ AWSCDK::IResolvable, ... (readonly)
The palette (chart color) display setup of the visual.
26084 26085 26086 |
# File 'quick_sight/cfn_dashboard.rb', line 26084 def visual_palette @visual_palette end |
#x_axis_display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.
26089 26090 26091 |
# File 'quick_sight/cfn_dashboard.rb', line 26089 def @x_axis_display_options end |
#x_axis_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.
26094 26095 26096 |
# File 'quick_sight/cfn_dashboard.rb', line 26094 def @x_axis_label_options end |
#y_axis_display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.
26099 26100 26101 |
# File 'quick_sight/cfn_dashboard.rb', line 26099 def @y_axis_display_options end |
#y_axis_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.
26104 26105 26106 |
# File 'quick_sight/cfn_dashboard.rb', line 26104 def @y_axis_label_options end |
Class Method Details
.jsii_properties ⇒ Object
26106 26107 26108 26109 26110 26111 26112 26113 26114 26115 26116 26117 26118 26119 26120 |
# File 'quick_sight/cfn_dashboard.rb', line 26106 def self.jsii_properties { :data_labels => "dataLabels", :field_wells => "fieldWells", :interactions => "interactions", :legend => "legend", :sort_configuration => "sortConfiguration", :tooltip => "tooltip", :visual_palette => "visualPalette", :x_axis_display_options => "xAxisDisplayOptions", :x_axis_label_options => "xAxisLabelOptions", :y_axis_display_options => "yAxisDisplayOptions", :y_axis_label_options => "yAxisLabelOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
26122 26123 26124 26125 26126 26127 26128 26129 26130 26131 26132 26133 26134 26135 26136 26137 26138 |
# File 'quick_sight/cfn_dashboard.rb', line 26122 def to_jsii result = {} result.merge!({ "dataLabels" => @data_labels, "fieldWells" => @field_wells, "interactions" => @interactions, "legend" => @legend, "sortConfiguration" => @sort_configuration, "tooltip" => @tooltip, "visualPalette" => @visual_palette, "xAxisDisplayOptions" => @x_axis_display_options, "xAxisLabelOptions" => @x_axis_label_options, "yAxisDisplayOptions" => @y_axis_display_options, "yAxisLabelOptions" => @y_axis_label_options, }) result.compact end |