Class: AWSCDK::QuickSight::CfnDashboard::LineChartDefaultSeriesSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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:



18828
18829
18830
18831
18832
18833
18834
18835
# File 'quick_sight/cfn_dashboard.rb', line 18828

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::CfnDashboard::LineChartLineStyleSettingsProperty.new(**line_style_settings.transform_keys(&:to_sym)) : line_style_settings
  Jsii::Type.check_type(@line_style_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaW5lQ2hhcnRMaW5lU3R5bGVTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "lineStyleSettings") unless @line_style_settings.nil?
  @marker_style_settings = marker_style_settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LineChartMarkerStyleSettingsProperty.new(**marker_style_settings.transform_keys(&:to_sym)) : marker_style_settings
  Jsii::Type.check_type(@marker_style_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MaW5lQ2hhcnRNYXJrZXJTdHlsZVNldHRpbmdzUHJvcGVydHkifV19fQ==")), "markerStyleSettings") unless @marker_style_settings.nil?
end

Instance Attribute Details

#axis_bindingString? (readonly)

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



18841
18842
18843
# File 'quick_sight/cfn_dashboard.rb', line 18841

def axis_binding
  @axis_binding
end

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

Line styles options for all line series in the visual.



18846
18847
18848
# File 'quick_sight/cfn_dashboard.rb', line 18846

def line_style_settings
  @line_style_settings
end

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

Marker styles options for all line series in the visual.



18851
18852
18853
# File 'quick_sight/cfn_dashboard.rb', line 18851

def marker_style_settings
  @marker_style_settings
end

Class Method Details

.jsii_propertiesObject



18853
18854
18855
18856
18857
18858
18859
# File 'quick_sight/cfn_dashboard.rb', line 18853

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

Instance Method Details

#to_jsiiObject



18861
18862
18863
18864
18865
18866
18867
18868
18869
# File 'quick_sight/cfn_dashboard.rb', line 18861

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