Class: AWSCDK::QuickSight::CfnTemplate::LineChartMarkerStyleSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::LineChartMarkerStyleSettingsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
Marker styles options for a line series in LineChartVisual .
Instance Attribute Summary collapse
-
#marker_color ⇒ String?
readonly
Color of marker in the series.
-
#marker_shape ⇒ String?
readonly
Shape option for markers in the series.
-
#marker_size ⇒ String?
readonly
Size of marker in the series.
-
#marker_visibility ⇒ String?
readonly
Configuration option that determines whether to show the markers in the series.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(marker_color: nil, marker_shape: nil, marker_size: nil, marker_visibility: nil) ⇒ LineChartMarkerStyleSettingsProperty
constructor
A new instance of LineChartMarkerStyleSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(marker_color: nil, marker_shape: nil, marker_size: nil, marker_visibility: nil) ⇒ LineChartMarkerStyleSettingsProperty
Returns a new instance of LineChartMarkerStyleSettingsProperty.
16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 |
# File 'quick_sight/cfn_template.rb', line 16236 def initialize(marker_color: nil, marker_shape: nil, marker_size: nil, marker_visibility: nil) @marker_color = marker_color Jsii::Type.check_type(@marker_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "markerColor") unless @marker_color.nil? @marker_shape = marker_shape Jsii::Type.check_type(@marker_shape, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "markerShape") unless @marker_shape.nil? @marker_size = marker_size Jsii::Type.check_type(@marker_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "markerSize") unless @marker_size.nil? @marker_visibility = marker_visibility Jsii::Type.check_type(@marker_visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "markerVisibility") unless @marker_visibility.nil? end |
Instance Attribute Details
#marker_color ⇒ String? (readonly)
Color of marker in the series.
16251 16252 16253 |
# File 'quick_sight/cfn_template.rb', line 16251 def marker_color @marker_color end |
#marker_shape ⇒ String? (readonly)
Shape option for markers in the series.
CIRCLE: Show marker as a circle.TRIANGLE: Show marker as a triangle.SQUARE: Show marker as a square.DIAMOND: Show marker as a diamond.ROUNDED_SQUARE: Show marker as a rounded square.
16262 16263 16264 |
# File 'quick_sight/cfn_template.rb', line 16262 def marker_shape @marker_shape end |
#marker_size ⇒ String? (readonly)
Size of marker in the series.
16267 16268 16269 |
# File 'quick_sight/cfn_template.rb', line 16267 def marker_size @marker_size end |
#marker_visibility ⇒ String? (readonly)
Configuration option that determines whether to show the markers in the series.
16272 16273 16274 |
# File 'quick_sight/cfn_template.rb', line 16272 def marker_visibility @marker_visibility end |
Class Method Details
.jsii_properties ⇒ Object
16274 16275 16276 16277 16278 16279 16280 16281 |
# File 'quick_sight/cfn_template.rb', line 16274 def self.jsii_properties { :marker_color => "markerColor", :marker_shape => "markerShape", :marker_size => "markerSize", :marker_visibility => "markerVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 |
# File 'quick_sight/cfn_template.rb', line 16283 def to_jsii result = {} result.merge!({ "markerColor" => @marker_color, "markerShape" => @marker_shape, "markerSize" => @marker_size, "markerVisibility" => @marker_visibility, }) result.compact end |