Class: AWSCDK::QuickSight::CfnDashboard::LineChartLineStyleSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::LineChartLineStyleSettingsProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 |
# File 'quick_sight/cfn_dashboard.rb', line 18915 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.
18934 18935 18936 |
# File 'quick_sight/cfn_dashboard.rb', line 18934 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.
18943 18944 18945 |
# File 'quick_sight/cfn_dashboard.rb', line 18943 def line_style @line_style end |
#line_visibility ⇒ String? (readonly)
Configuration option that determines whether to show the line for the series.
18948 18949 18950 |
# File 'quick_sight/cfn_dashboard.rb', line 18948 def line_visibility @line_visibility end |
#line_width ⇒ String? (readonly)
Width that determines the line thickness.
18953 18954 18955 |
# File 'quick_sight/cfn_dashboard.rb', line 18953 def line_width @line_width end |
Class Method Details
.jsii_properties ⇒ Object
18955 18956 18957 18958 18959 18960 18961 18962 |
# File 'quick_sight/cfn_dashboard.rb', line 18955 def self.jsii_properties { :line_interpolation => "lineInterpolation", :line_style => "lineStyle", :line_visibility => "lineVisibility", :line_width => "lineWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 |
# File 'quick_sight/cfn_dashboard.rb', line 18964 def to_jsii result = {} result.merge!({ "lineInterpolation" => @line_interpolation, "lineStyle" => @line_style, "lineVisibility" => @line_visibility, "lineWidth" => @line_width, }) result.compact end |