Class: AWSCDK::QuickSight::CfnDashboard::LineChartSeriesSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::LineChartSeriesSettingsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The options that determine the presentation of a line series in the visual.
Instance Attribute Summary collapse
-
#line_style_settings ⇒ AWSCDK::IResolvable, ...
readonly
Line styles options for a line series in
LineChartVisual. -
#marker_style_settings ⇒ AWSCDK::IResolvable, ...
readonly
Marker styles options for a line series in
LineChartVisual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(line_style_settings: nil, marker_style_settings: nil) ⇒ LineChartSeriesSettingsProperty
constructor
A new instance of LineChartSeriesSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(line_style_settings: nil, marker_style_settings: nil) ⇒ LineChartSeriesSettingsProperty
Returns a new instance of LineChartSeriesSettingsProperty.
19053 19054 19055 19056 19057 19058 |
# File 'quick_sight/cfn_dashboard.rb', line 19053 def initialize(line_style_settings: nil, marker_style_settings: nil) @line_style_settings = line_style_settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LineChartLineStyleSettingsProperty.new(**line_style_settings.transform_keys(&:to_sym)) : line_style_settings Jsii::Type.check_type(@line_style_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaW5lQ2hhcnRMaW5lU3R5bGVTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "lineStyleSettings") unless @line_style_settings.nil? @marker_style_settings = marker_style_settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LineChartMarkerStyleSettingsProperty.new(**marker_style_settings.transform_keys(&:to_sym)) : marker_style_settings Jsii::Type.check_type(@marker_style_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaW5lQ2hhcnRNYXJrZXJTdHlsZVNldHRpbmdzUHJvcGVydHkifV19fQ==")), "markerStyleSettings") unless @marker_style_settings.nil? end |
Instance Attribute Details
#line_style_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Line styles options for a line series in LineChartVisual .
19064 19065 19066 |
# File 'quick_sight/cfn_dashboard.rb', line 19064 def line_style_settings @line_style_settings end |
#marker_style_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Marker styles options for a line series in LineChartVisual .
19069 19070 19071 |
# File 'quick_sight/cfn_dashboard.rb', line 19069 def marker_style_settings @marker_style_settings end |
Class Method Details
.jsii_properties ⇒ Object
19071 19072 19073 19074 19075 19076 |
# File 'quick_sight/cfn_dashboard.rb', line 19071 def self.jsii_properties { :line_style_settings => "lineStyleSettings", :marker_style_settings => "markerStyleSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
19078 19079 19080 19081 19082 19083 19084 19085 |
# File 'quick_sight/cfn_dashboard.rb', line 19078 def to_jsii result = {} result.merge!({ "lineStyleSettings" => @line_style_settings, "markerStyleSettings" => @marker_style_settings, }) result.compact end |