Class: AWSCDK::QuickSight::CfnAnalysis::LineChartLineStyleSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::LineChartLineStyleSettingsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
Line styles options for a line series in LineChartVisual .
Instance Attribute Summary collapse
-
#line_interpolation ⇒ String?
readonly
Interpolation style for line series.
-
#line_style ⇒ String?
readonly
Line style for line series.
-
#line_visibility ⇒ String?
readonly
Configuration option that determines whether to show the line for the series.
-
#line_width ⇒ String?
readonly
Width that determines the line thickness.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(line_interpolation: nil, line_style: nil, line_visibility: nil, line_width: nil) ⇒ LineChartLineStyleSettingsProperty
constructor
A new instance of LineChartLineStyleSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(line_interpolation: nil, line_style: nil, line_visibility: nil, line_width: nil) ⇒ LineChartLineStyleSettingsProperty
Returns a new instance of LineChartLineStyleSettingsProperty.
17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 |
# File 'quick_sight/cfn_analysis.rb', line 17976 def initialize(line_interpolation: nil, line_style: nil, line_visibility: nil, line_width: nil) @line_interpolation = line_interpolation Jsii::Type.check_type(@line_interpolation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lineInterpolation") unless @line_interpolation.nil? @line_style = line_style Jsii::Type.check_type(@line_style, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lineStyle") unless @line_style.nil? @line_visibility = line_visibility Jsii::Type.check_type(@line_visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lineVisibility") unless @line_visibility.nil? @line_width = line_width Jsii::Type.check_type(@line_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lineWidth") unless @line_width.nil? end |
Instance Attribute Details
#line_interpolation ⇒ String? (readonly)
Interpolation style for line series.
LINEAR: Show as default, linear style.SMOOTH: Show as a smooth curve.STEPPED: Show steps in line.
17995 17996 17997 |
# File 'quick_sight/cfn_analysis.rb', line 17995 def line_interpolation @line_interpolation end |
#line_style ⇒ String? (readonly)
Line style for line series.
SOLID: Show as a solid line.DOTTED: Show as a dotted line.DASHED: Show as a dashed line.
18004 18005 18006 |
# File 'quick_sight/cfn_analysis.rb', line 18004 def line_style @line_style end |
#line_visibility ⇒ String? (readonly)
Configuration option that determines whether to show the line for the series.
18009 18010 18011 |
# File 'quick_sight/cfn_analysis.rb', line 18009 def line_visibility @line_visibility end |
#line_width ⇒ String? (readonly)
Width that determines the line thickness.
18014 18015 18016 |
# File 'quick_sight/cfn_analysis.rb', line 18014 def line_width @line_width end |
Class Method Details
.jsii_properties ⇒ Object
18016 18017 18018 18019 18020 18021 18022 18023 |
# File 'quick_sight/cfn_analysis.rb', line 18016 def self.jsii_properties { :line_interpolation => "lineInterpolation", :line_style => "lineStyle", :line_visibility => "lineVisibility", :line_width => "lineWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 |
# File 'quick_sight/cfn_analysis.rb', line 18025 def to_jsii result = {} result.merge!({ "lineInterpolation" => @line_interpolation, "lineStyle" => @line_style, "lineVisibility" => @line_visibility, "lineWidth" => @line_width, }) result.compact end |