Class: AWSCDK::QuickSight::CfnTemplate::LineChartLineStyleSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::LineChartLineStyleSettingsProperty
- Defined in:
- quick_sight/cfn_template.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.
16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 |
# File 'quick_sight/cfn_template.rb', line 16165 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.
16184 16185 16186 |
# File 'quick_sight/cfn_template.rb', line 16184 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.
16193 16194 16195 |
# File 'quick_sight/cfn_template.rb', line 16193 def line_style @line_style end |
#line_visibility ⇒ String? (readonly)
Configuration option that determines whether to show the line for the series.
16198 16199 16200 |
# File 'quick_sight/cfn_template.rb', line 16198 def line_visibility @line_visibility end |
#line_width ⇒ String? (readonly)
Width that determines the line thickness.
16203 16204 16205 |
# File 'quick_sight/cfn_template.rb', line 16203 def line_width @line_width end |
Class Method Details
.jsii_properties ⇒ Object
16205 16206 16207 16208 16209 16210 16211 16212 |
# File 'quick_sight/cfn_template.rb', line 16205 def self.jsii_properties { :line_interpolation => "lineInterpolation", :line_style => "lineStyle", :line_visibility => "lineVisibility", :line_width => "lineWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 |
# File 'quick_sight/cfn_template.rb', line 16214 def to_jsii result = {} result.merge!({ "lineInterpolation" => @line_interpolation, "lineStyle" => @line_style, "lineVisibility" => @line_visibility, "lineWidth" => @line_width, }) result.compact end |