Class: AWSCDK::QuickSight::CfnTemplate::DonutCenterOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DonutCenterOptionsProperty
- Defined in:
- quick_sight/cfn_template.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.
8349 8350 8351 8352 |
# File 'quick_sight/cfn_template.rb', line 8349 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' .
8360 8361 8362 |
# File 'quick_sight/cfn_template.rb', line 8360 def label_visibility @label_visibility end |
Class Method Details
.jsii_properties ⇒ Object
8362 8363 8364 8365 8366 |
# File 'quick_sight/cfn_template.rb', line 8362 def self.jsii_properties { :label_visibility => "labelVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
8368 8369 8370 8371 8372 8373 8374 |
# File 'quick_sight/cfn_template.rb', line 8368 def to_jsii result = {} result.merge!({ "labelVisibility" => @label_visibility, }) result.compact end |