Class: AWSCDK::QuickSight::CfnTemplate::LineChartDefaultSeriesSettingsProperty

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

Overview

The options that determine the default presentation of all line series in LineChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(axis_binding: nil, line_style_settings: nil, marker_style_settings: nil) ⇒ LineChartDefaultSeriesSettingsProperty

Returns a new instance of LineChartDefaultSeriesSettingsProperty.

Parameters:



16078
16079
16080
16081
16082
16083
16084
16085
# File 'quick_sight/cfn_template.rb', line 16078

def initialize(axis_binding: nil, line_style_settings: nil, marker_style_settings: nil)
  @axis_binding = axis_binding
  Jsii::Type.check_type(@axis_binding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "axisBinding") unless @axis_binding.nil?
  @line_style_settings = line_style_settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LineChartLineStyleSettingsProperty.new(**line_style_settings.transform_keys(&:to_sym)) : line_style_settings
  Jsii::Type.check_type(@line_style_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxpbmVDaGFydExpbmVTdHlsZVNldHRpbmdzUHJvcGVydHkifV19fQ==")), "lineStyleSettings") unless @line_style_settings.nil?
  @marker_style_settings = marker_style_settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LineChartMarkerStyleSettingsProperty.new(**marker_style_settings.transform_keys(&:to_sym)) : marker_style_settings
  Jsii::Type.check_type(@marker_style_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxpbmVDaGFydE1hcmtlclN0eWxlU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "markerStyleSettings") unless @marker_style_settings.nil?
end

Instance Attribute Details

#axis_bindingString? (readonly)

The axis to which you are binding all line series to.



16091
16092
16093
# File 'quick_sight/cfn_template.rb', line 16091

def axis_binding
  @axis_binding
end

#line_style_settingsAWSCDK::IResolvable, ... (readonly)

Line styles options for all line series in the visual.



16096
16097
16098
# File 'quick_sight/cfn_template.rb', line 16096

def line_style_settings
  @line_style_settings
end

#marker_style_settingsAWSCDK::IResolvable, ... (readonly)

Marker styles options for all line series in the visual.



16101
16102
16103
# File 'quick_sight/cfn_template.rb', line 16101

def marker_style_settings
  @marker_style_settings
end

Class Method Details

.jsii_propertiesObject



16103
16104
16105
16106
16107
16108
16109
# File 'quick_sight/cfn_template.rb', line 16103

def self.jsii_properties
  {
    :axis_binding => "axisBinding",
    :line_style_settings => "lineStyleSettings",
    :marker_style_settings => "markerStyleSettings",
  }
end

Instance Method Details

#to_jsiiObject



16111
16112
16113
16114
16115
16116
16117
16118
16119
# File 'quick_sight/cfn_template.rb', line 16111

def to_jsii
  result = {}
  result.merge!({
    "axisBinding" => @axis_binding,
    "lineStyleSettings" => @line_style_settings,
    "markerStyleSettings" => @marker_style_settings,
  })
  result.compact
end