Class: AWSCDK::QuickSight::CfnAnalysis::LineChartMarkerStyleSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::LineChartMarkerStyleSettingsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 |
# File 'quick_sight/cfn_analysis.rb', line 18047 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.
18062 18063 18064 |
# File 'quick_sight/cfn_analysis.rb', line 18062 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.
18073 18074 18075 |
# File 'quick_sight/cfn_analysis.rb', line 18073 def marker_shape @marker_shape end |
#marker_size ⇒ String? (readonly)
Size of marker in the series.
18078 18079 18080 |
# File 'quick_sight/cfn_analysis.rb', line 18078 def marker_size @marker_size end |
#marker_visibility ⇒ String? (readonly)
Configuration option that determines whether to show the markers in the series.
18083 18084 18085 |
# File 'quick_sight/cfn_analysis.rb', line 18083 def marker_visibility @marker_visibility end |
Class Method Details
.jsii_properties ⇒ Object
18085 18086 18087 18088 18089 18090 18091 18092 |
# File 'quick_sight/cfn_analysis.rb', line 18085 def self.jsii_properties { :marker_color => "markerColor", :marker_shape => "markerShape", :marker_size => "markerSize", :marker_visibility => "markerVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 |
# File 'quick_sight/cfn_analysis.rb', line 18094 def to_jsii result = {} result.merge!({ "markerColor" => @marker_color, "markerShape" => @marker_shape, "markerSize" => @marker_size, "markerVisibility" => @marker_visibility, }) result.compact end |