Class: AWSCDK::QuickSight::CfnTemplate::SmallMultiplesAxisPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::SmallMultiplesAxisPropertiesProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
Configures the properties of a chart's axes that are used by small multiples panels.
Instance Attribute Summary collapse
-
#placement ⇒ String?
readonly
Defines the placement of the axis.
-
#scale ⇒ String?
readonly
Determines whether scale of the axes are shared or independent.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(placement: nil, scale: nil) ⇒ SmallMultiplesAxisPropertiesProperty
constructor
A new instance of SmallMultiplesAxisPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(placement: nil, scale: nil) ⇒ SmallMultiplesAxisPropertiesProperty
Returns a new instance of SmallMultiplesAxisPropertiesProperty.
25012 25013 25014 25015 25016 25017 |
# File 'quick_sight/cfn_template.rb', line 25012 def initialize(placement: nil, scale: nil) @placement = placement Jsii::Type.check_type(@placement, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "placement") unless @placement.nil? @scale = scale Jsii::Type.check_type(@scale, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scale") unless @scale.nil? end |
Instance Attribute Details
#placement ⇒ String? (readonly)
Defines the placement of the axis.
By default, axes are rendered OUTSIDE of the panels. Axes with INDEPENDENT scale are rendered INSIDE the panels.
25025 25026 25027 |
# File 'quick_sight/cfn_template.rb', line 25025 def placement @placement end |
#scale ⇒ String? (readonly)
Determines whether scale of the axes are shared or independent.
The default value is SHARED .
25032 25033 25034 |
# File 'quick_sight/cfn_template.rb', line 25032 def scale @scale end |
Class Method Details
.jsii_properties ⇒ Object
25034 25035 25036 25037 25038 25039 |
# File 'quick_sight/cfn_template.rb', line 25034 def self.jsii_properties { :placement => "placement", :scale => "scale", } end |
Instance Method Details
#to_jsii ⇒ Object
25041 25042 25043 25044 25045 25046 25047 25048 |
# File 'quick_sight/cfn_template.rb', line 25041 def to_jsii result = {} result.merge!({ "placement" => @placement, "scale" => @scale, }) result.compact end |