Class: AWSCDK::QuickSight::CfnDashboard::LineSeriesAxisDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::LineSeriesAxisDisplayOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The series axis configuration of a line chart.
Instance Attribute Summary collapse
-
#axis_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of the line series axis.
-
#missing_data_configurations ⇒ AWSCDK::IResolvable, ...
readonly
The configuration options that determine how missing data is treated during the rendering of a line chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(axis_options: nil, missing_data_configurations: nil) ⇒ LineSeriesAxisDisplayOptionsProperty
constructor
A new instance of LineSeriesAxisDisplayOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(axis_options: nil, missing_data_configurations: nil) ⇒ LineSeriesAxisDisplayOptionsProperty
Returns a new instance of LineSeriesAxisDisplayOptionsProperty.
19266 19267 19268 19269 19270 19271 |
# File 'quick_sight/cfn_dashboard.rb', line 19266 def initialize(axis_options: nil, missing_data_configurations: nil) @axis_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::AxisDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@axis_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5BeGlzRGlzcGxheU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "axisOptions") unless @axis_options.nil? @missing_data_configurations = missing_data_configurations Jsii::Type.check_type(@missing_data_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuTWlzc2luZ0RhdGFDb25maWd1cmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "missingDataConfigurations") unless @missing_data_configurations.nil? end |
Instance Attribute Details
#axis_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of the line series axis.
19277 19278 19279 |
# File 'quick_sight/cfn_dashboard.rb', line 19277 def @axis_options end |
#missing_data_configurations ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration options that determine how missing data is treated during the rendering of a line chart.
19282 19283 19284 |
# File 'quick_sight/cfn_dashboard.rb', line 19282 def missing_data_configurations @missing_data_configurations end |
Class Method Details
.jsii_properties ⇒ Object
19284 19285 19286 19287 19288 19289 |
# File 'quick_sight/cfn_dashboard.rb', line 19284 def self.jsii_properties { :axis_options => "axisOptions", :missing_data_configurations => "missingDataConfigurations", } end |
Instance Method Details
#to_jsii ⇒ Object
19291 19292 19293 19294 19295 19296 19297 19298 |
# File 'quick_sight/cfn_dashboard.rb', line 19291 def to_jsii result = {} result.merge!({ "axisOptions" => @axis_options, "missingDataConfigurations" => @missing_data_configurations, }) result.compact end |