Class: AWSCDK::QuickSight::CfnAnalysis::DonutCenterOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DonutCenterOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
8541 8542 8543 8544 |
# File 'quick_sight/cfn_analysis.rb', line 8541 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' .
8552 8553 8554 |
# File 'quick_sight/cfn_analysis.rb', line 8552 def label_visibility @label_visibility end |
Class Method Details
.jsii_properties ⇒ Object
8554 8555 8556 8557 8558 |
# File 'quick_sight/cfn_analysis.rb', line 8554 def self.jsii_properties { :label_visibility => "labelVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
8560 8561 8562 8563 8564 8565 8566 |
# File 'quick_sight/cfn_analysis.rb', line 8560 def to_jsii result = {} result.merge!({ "labelVisibility" => @label_visibility, }) result.compact end |