Class: AWSCDK::QuickSight::CfnDashboard::DonutCenterOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DonutCenterOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The label options of the label that is displayed in the center of a donut chart.
This option isn't available for pie charts.
Instance Attribute Summary collapse
-
#label_visibility ⇒ String?
readonly
Determines the visibility of the label in a donut chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label_visibility: nil) ⇒ DonutCenterOptionsProperty
constructor
A new instance of DonutCenterOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label_visibility: nil) ⇒ DonutCenterOptionsProperty
Returns a new instance of DonutCenterOptionsProperty.
9162 9163 9164 9165 |
# File 'quick_sight/cfn_dashboard.rb', line 9162 def initialize(label_visibility: nil) @label_visibility = label_visibility Jsii::Type.check_type(@label_visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "labelVisibility") unless @label_visibility.nil? end |
Instance Attribute Details
#label_visibility ⇒ String? (readonly)
Determines the visibility of the label in a donut chart.
In the Quick Sight console, this option is called 'Show total' .
9173 9174 9175 |
# File 'quick_sight/cfn_dashboard.rb', line 9173 def label_visibility @label_visibility end |
Class Method Details
.jsii_properties ⇒ Object
9175 9176 9177 9178 9179 |
# File 'quick_sight/cfn_dashboard.rb', line 9175 def self.jsii_properties { :label_visibility => "labelVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
9181 9182 9183 9184 9185 9186 9187 |
# File 'quick_sight/cfn_dashboard.rb', line 9181 def to_jsii result = {} result.merge!({ "labelVisibility" => @label_visibility, }) result.compact end |