Class: AWSCDK::QuickSight::CfnDashboard::ArcAxisConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ArcAxisConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The arc axis configuration of a GaugeChartVisual .
Instance Attribute Summary collapse
-
#range ⇒ AWSCDK::IResolvable, ...
readonly
The arc axis range of a
GaugeChartVisual. -
#reserve_range ⇒ Numeric?
readonly
The reserved range of the arc axis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(range: nil, reserve_range: nil) ⇒ ArcAxisConfigurationProperty
constructor
A new instance of ArcAxisConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(range: nil, reserve_range: nil) ⇒ ArcAxisConfigurationProperty
Returns a new instance of ArcAxisConfigurationProperty.
1036 1037 1038 1039 1040 1041 |
# File 'quick_sight/cfn_dashboard.rb', line 1036 def initialize(range: nil, reserve_range: nil) @range = range.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ArcAxisDisplayRangeProperty.new(**range.transform_keys(&:to_sym)) : range Jsii::Type.check_type(@range, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5BcmNBeGlzRGlzcGxheVJhbmdlUHJvcGVydHkifV19fQ==")), "range") unless @range.nil? @reserve_range = reserve_range Jsii::Type.check_type(@reserve_range, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "reserveRange") unless @reserve_range.nil? end |
Instance Attribute Details
#range ⇒ AWSCDK::IResolvable, ... (readonly)
The arc axis range of a GaugeChartVisual .
1047 1048 1049 |
# File 'quick_sight/cfn_dashboard.rb', line 1047 def range @range end |
#reserve_range ⇒ Numeric? (readonly)
Note:
Default: - 0
The reserved range of the arc axis.
1053 1054 1055 |
# File 'quick_sight/cfn_dashboard.rb', line 1053 def reserve_range @reserve_range end |
Class Method Details
.jsii_properties ⇒ Object
1055 1056 1057 1058 1059 1060 |
# File 'quick_sight/cfn_dashboard.rb', line 1055 def self.jsii_properties { :range => "range", :reserve_range => "reserveRange", } end |
Instance Method Details
#to_jsii ⇒ Object
1062 1063 1064 1065 1066 1067 1068 1069 |
# File 'quick_sight/cfn_dashboard.rb', line 1062 def to_jsii result = {} result.merge!({ "range" => @range, "reserveRange" => @reserve_range, }) result.compact end |