Class: AWSCDK::QuickSight::CfnTemplate::LineSeriesAxisDisplayOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::LineSeriesAxisDisplayOptionsProperty
- Defined in:
- quick_sight/cfn_template.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.
16516 16517 16518 16519 16520 16521 |
# File 'quick_sight/cfn_template.rb', line 16516 def initialize(axis_options: nil, missing_data_configurations: nil) @axis_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::AxisDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@axis_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkF4aXNEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "axisOptions") unless @axis_options.nil? @missing_data_configurations = missing_data_configurations Jsii::Type.check_type(@missing_data_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5NaXNzaW5nRGF0YUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "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.
16527 16528 16529 |
# File 'quick_sight/cfn_template.rb', line 16527 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.
16532 16533 16534 |
# File 'quick_sight/cfn_template.rb', line 16532 def missing_data_configurations @missing_data_configurations end |
Class Method Details
.jsii_properties ⇒ Object
16534 16535 16536 16537 16538 16539 |
# File 'quick_sight/cfn_template.rb', line 16534 def self.jsii_properties { :axis_options => "axisOptions", :missing_data_configurations => "missingDataConfigurations", } end |
Instance Method Details
#to_jsii ⇒ Object
16541 16542 16543 16544 16545 16546 16547 16548 |
# File 'quick_sight/cfn_template.rb', line 16541 def to_jsii result = {} result.merge!({ "axisOptions" => @axis_options, "missingDataConfigurations" => @missing_data_configurations, }) result.compact end |