Class: AWSCDK::QuickSight::CfnDashboard::ArcAxisDisplayRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ArcAxisDisplayRangeProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The arc axis range of a GaugeChartVisual .
Instance Attribute Summary collapse
-
#max ⇒ Numeric?
readonly
The maximum value of the arc axis range.
-
#min ⇒ Numeric?
readonly
The minimum value of the arc axis range.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max: nil, min: nil) ⇒ ArcAxisDisplayRangeProperty
constructor
A new instance of ArcAxisDisplayRangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max: nil, min: nil) ⇒ ArcAxisDisplayRangeProperty
Returns a new instance of ArcAxisDisplayRangeProperty.
1080 1081 1082 1083 1084 1085 |
# File 'quick_sight/cfn_dashboard.rb', line 1080 def initialize(max: nil, min: nil) @max = max Jsii::Type.check_type(@max, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "max") unless @max.nil? @min = min Jsii::Type.check_type(@min, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "min") unless @min.nil? end |
Instance Attribute Details
#max ⇒ Numeric? (readonly)
The maximum value of the arc axis range.
1091 1092 1093 |
# File 'quick_sight/cfn_dashboard.rb', line 1091 def max @max end |
#min ⇒ Numeric? (readonly)
The minimum value of the arc axis range.
1096 1097 1098 |
# File 'quick_sight/cfn_dashboard.rb', line 1096 def min @min end |
Class Method Details
.jsii_properties ⇒ Object
1098 1099 1100 1101 1102 1103 |
# File 'quick_sight/cfn_dashboard.rb', line 1098 def self.jsii_properties { :max => "max", :min => "min", } end |
Instance Method Details
#to_jsii ⇒ Object
1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'quick_sight/cfn_dashboard.rb', line 1105 def to_jsii result = {} result.merge!({ "max" => @max, "min" => @min, }) result.compact end |