Class: AWSCDK::QuickSight::CfnAnalysis::LineChartDefaultSeriesSettingsProperty

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



17889
17890
17891
17892
17893
17894
17895
17896
# File 'quick_sight/cfn_analysis.rb', line 17889

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

Instance Attribute Details

#axis_bindingString? (readonly)

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



17902
17903
17904
# File 'quick_sight/cfn_analysis.rb', line 17902

def axis_binding
  @axis_binding
end

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

Line styles options for all line series in the visual.



17907
17908
17909
# File 'quick_sight/cfn_analysis.rb', line 17907

def line_style_settings
  @line_style_settings
end

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

Marker styles options for all line series in the visual.



17912
17913
17914
# File 'quick_sight/cfn_analysis.rb', line 17912

def marker_style_settings
  @marker_style_settings
end

Class Method Details

.jsii_propertiesObject



17914
17915
17916
17917
17918
17919
17920
# File 'quick_sight/cfn_analysis.rb', line 17914

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

Instance Method Details

#to_jsiiObject



17922
17923
17924
17925
17926
17927
17928
17929
17930
# File 'quick_sight/cfn_analysis.rb', line 17922

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