Class: AWSCDK::QuickSight::CfnAnalysis::AxisTickLabelOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::AxisTickLabelOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The tick label options of an axis.
Instance Attribute Summary collapse
-
#label_options ⇒ AWSCDK::IResolvable, ...
readonly
Determines whether or not the axis ticks are visible.
-
#rotation_angle ⇒ Numeric?
readonly
The rotation angle of the axis tick labels.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label_options: nil, rotation_angle: nil) ⇒ AxisTickLabelOptionsProperty
constructor
A new instance of AxisTickLabelOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label_options: nil, rotation_angle: nil) ⇒ AxisTickLabelOptionsProperty
Returns a new instance of AxisTickLabelOptionsProperty.
1880 1881 1882 1883 1884 1885 |
# File 'quick_sight/cfn_analysis.rb', line 1880 def initialize(label_options: nil, rotation_angle: nil) @label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::LabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "labelOptions") unless @label_options.nil? @rotation_angle = rotation_angle Jsii::Type.check_type(@rotation_angle, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "rotationAngle") unless @rotation_angle.nil? end |
Instance Attribute Details
#label_options ⇒ AWSCDK::IResolvable, ... (readonly)
Determines whether or not the axis ticks are visible.
1891 1892 1893 |
# File 'quick_sight/cfn_analysis.rb', line 1891 def @label_options end |
#rotation_angle ⇒ Numeric? (readonly)
The rotation angle of the axis tick labels.
1896 1897 1898 |
# File 'quick_sight/cfn_analysis.rb', line 1896 def rotation_angle @rotation_angle end |
Class Method Details
.jsii_properties ⇒ Object
1898 1899 1900 1901 1902 1903 |
# File 'quick_sight/cfn_analysis.rb', line 1898 def self.jsii_properties { :label_options => "labelOptions", :rotation_angle => "rotationAngle", } end |
Instance Method Details
#to_jsii ⇒ Object
1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'quick_sight/cfn_analysis.rb', line 1905 def to_jsii result = {} result.merge!({ "labelOptions" => @label_options, "rotationAngle" => @rotation_angle, }) result.compact end |