Class: AWSCDK::QuickSight::CfnDashboard::MissingDataConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The configuration options that determine how missing data is treated during the rendering of a line chart.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(treatment_option: nil) ⇒ MissingDataConfigurationProperty

Returns a new instance of MissingDataConfigurationProperty.

Parameters:

  • treatment_option (String, nil) (defaults to: nil)

    The treatment option that determines how missing data should be rendered. Choose from the following options:.



19904
19905
19906
19907
# File 'quick_sight/cfn_dashboard.rb', line 19904

def initialize(treatment_option: nil)
  @treatment_option = treatment_option
  Jsii::Type.check_type(@treatment_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "treatmentOption") unless @treatment_option.nil?
end

Instance Attribute Details

#treatment_optionString? (readonly)

The treatment option that determines how missing data should be rendered. Choose from the following options:.

  • INTERPOLATE : Interpolate missing values between the prior and the next known value.
  • SHOW_AS_ZERO : Show missing values as the value 0 .
  • SHOW_AS_BLANK : Display a blank space when rendering missing data.


19917
19918
19919
# File 'quick_sight/cfn_dashboard.rb', line 19917

def treatment_option
  @treatment_option
end

Class Method Details

.jsii_propertiesObject



19919
19920
19921
19922
19923
# File 'quick_sight/cfn_dashboard.rb', line 19919

def self.jsii_properties
  {
    :treatment_option => "treatmentOption",
  }
end

Instance Method Details

#to_jsiiObject



19925
19926
19927
19928
19929
19930
19931
# File 'quick_sight/cfn_dashboard.rb', line 19925

def to_jsii
  result = {}
  result.merge!({
    "treatmentOption" => @treatment_option,
  })
  result.compact
end