Class: AWSCDK::QuickSight::CfnDashboard::LineChartMarkerStyleSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

Marker styles options for a line series in LineChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(marker_color: nil, marker_shape: nil, marker_size: nil, marker_visibility: nil) ⇒ LineChartMarkerStyleSettingsProperty

Returns a new instance of LineChartMarkerStyleSettingsProperty.

Parameters:

  • marker_color (String, nil) (defaults to: nil)

    Color of marker in the series.

  • marker_shape (String, nil) (defaults to: nil)

    Shape option for markers in the series.

  • marker_size (String, nil) (defaults to: nil)

    Size of marker in the series.

  • marker_visibility (String, nil) (defaults to: nil)

    Configuration option that determines whether to show the markers in the series.



18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
# File 'quick_sight/cfn_dashboard.rb', line 18986

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_colorString? (readonly)

Color of marker in the series.



19001
19002
19003
# File 'quick_sight/cfn_dashboard.rb', line 19001

def marker_color
  @marker_color
end

#marker_shapeString? (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.


19012
19013
19014
# File 'quick_sight/cfn_dashboard.rb', line 19012

def marker_shape
  @marker_shape
end

#marker_sizeString? (readonly)

Size of marker in the series.



19017
19018
19019
# File 'quick_sight/cfn_dashboard.rb', line 19017

def marker_size
  @marker_size
end

#marker_visibilityString? (readonly)

Configuration option that determines whether to show the markers in the series.



19022
19023
19024
# File 'quick_sight/cfn_dashboard.rb', line 19022

def marker_visibility
  @marker_visibility
end

Class Method Details

.jsii_propertiesObject



19024
19025
19026
19027
19028
19029
19030
19031
# File 'quick_sight/cfn_dashboard.rb', line 19024

def self.jsii_properties
  {
    :marker_color => "markerColor",
    :marker_shape => "markerShape",
    :marker_size => "markerSize",
    :marker_visibility => "markerVisibility",
  }
end

Instance Method Details

#to_jsiiObject



19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
# File 'quick_sight/cfn_dashboard.rb', line 19033

def to_jsii
  result = {}
  result.merge!({
    "markerColor" => @marker_color,
    "markerShape" => @marker_shape,
    "markerSize" => @marker_size,
    "markerVisibility" => @marker_visibility,
  })
  result.compact
end