Class: AWSCDK::QuickSight::CfnAnalysis::RadarChartConfigurationProperty

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

Overview

The configuration of a RadarChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alternate_band_colors_visibility: nil, alternate_band_even_color: nil, alternate_band_odd_color: nil, axes_range_scale: nil, base_series_settings: nil, category_axis: nil, category_label_options: nil, color_axis: nil, color_label_options: nil, field_wells: nil, interactions: nil, legend: nil, shape: nil, sort_configuration: nil, start_angle: nil, visual_palette: nil) ⇒ RadarChartConfigurationProperty

Returns a new instance of RadarChartConfigurationProperty.

Parameters:



23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
# File 'quick_sight/cfn_analysis.rb', line 23416

def initialize(alternate_band_colors_visibility: nil, alternate_band_even_color: nil, alternate_band_odd_color: nil, axes_range_scale: nil, base_series_settings: nil, category_axis: nil, category_label_options: nil, color_axis: nil, color_label_options: nil, field_wells: nil, interactions: nil, legend: nil, shape: nil, sort_configuration: nil, start_angle: nil, visual_palette: nil)
  @alternate_band_colors_visibility = alternate_band_colors_visibility
  Jsii::Type.check_type(@alternate_band_colors_visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alternateBandColorsVisibility") unless @alternate_band_colors_visibility.nil?
  @alternate_band_even_color = alternate_band_even_color
  Jsii::Type.check_type(@alternate_band_even_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alternateBandEvenColor") unless @alternate_band_even_color.nil?
  @alternate_band_odd_color = alternate_band_odd_color
  Jsii::Type.check_type(@alternate_band_odd_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alternateBandOddColor") unless @alternate_band_odd_color.nil?
  @axes_range_scale = axes_range_scale
  Jsii::Type.check_type(@axes_range_scale, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "axesRangeScale") unless @axes_range_scale.nil?
  @base_series_settings = base_series_settings.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::RadarChartSeriesSettingsProperty.new(**base_series_settings.transform_keys(&:to_sym)) : base_series_settings
  Jsii::Type.check_type(@base_series_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlJhZGFyQ2hhcnRTZXJpZXNTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "baseSeriesSettings") unless @base_series_settings.nil?
  @category_axis = category_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::AxisDisplayOptionsProperty.new(**category_axis.transform_keys(&:to_sym)) : category_axis
  Jsii::Type.check_type(@category_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkF4aXNEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "categoryAxis") unless @category_axis.nil?
  @category_label_options = category_label_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ChartAxisLabelOptionsProperty.new(**category_label_options.transform_keys(&:to_sym)) : category_label_options
  Jsii::Type.check_type(@category_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "categoryLabelOptions") unless @category_label_options.nil?
  @color_axis = color_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::AxisDisplayOptionsProperty.new(**color_axis.transform_keys(&:to_sym)) : color_axis
  Jsii::Type.check_type(@color_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkF4aXNEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "colorAxis") unless @color_axis.nil?
  @color_label_options = color_label_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ChartAxisLabelOptionsProperty.new(**color_label_options.transform_keys(&:to_sym)) : color_label_options
  Jsii::Type.check_type(@color_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "colorLabelOptions") unless @color_label_options.nil?
  @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::RadarChartFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells
  Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlJhZGFyQ2hhcnRGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "fieldWells") unless @field_wells.nil?
  @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions
  Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil?
  @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend
  Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxlZ2VuZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "legend") unless @legend.nil?
  @shape = shape
  Jsii::Type.check_type(@shape, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "shape") unless @shape.nil?
  @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::RadarChartSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration
  Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlJhZGFyQ2hhcnRTb3J0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "sortConfiguration") unless @sort_configuration.nil?
  @start_angle = start_angle
  Jsii::Type.check_type(@start_angle, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "startAngle") unless @start_angle.nil?
  @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette
  Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlZpc3VhbFBhbGV0dGVQcm9wZXJ0eSJ9XX19")), "visualPalette") unless @visual_palette.nil?
end

Instance Attribute Details

#alternate_band_colors_visibilityString? (readonly)

Determines the visibility of the colors of alternatign bands in a radar chart.



23455
23456
23457
# File 'quick_sight/cfn_analysis.rb', line 23455

def alternate_band_colors_visibility
  @alternate_band_colors_visibility
end

#alternate_band_even_colorString? (readonly)

The color of the even-numbered alternate bands of a radar chart.



23460
23461
23462
# File 'quick_sight/cfn_analysis.rb', line 23460

def alternate_band_even_color
  @alternate_band_even_color
end

#alternate_band_odd_colorString? (readonly)

The color of the odd-numbered alternate bands of a radar chart.



23465
23466
23467
# File 'quick_sight/cfn_analysis.rb', line 23465

def alternate_band_odd_color
  @alternate_band_odd_color
end

#axes_range_scaleString? (readonly)

The axis behavior options of a radar chart.



23470
23471
23472
# File 'quick_sight/cfn_analysis.rb', line 23470

def axes_range_scale
  @axes_range_scale
end

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

The base sreies settings of a radar chart.



23475
23476
23477
# File 'quick_sight/cfn_analysis.rb', line 23475

def base_series_settings
  @base_series_settings
end

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

The category axis of a radar chart.



23480
23481
23482
# File 'quick_sight/cfn_analysis.rb', line 23480

def category_axis
  @category_axis
end

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

The category label options of a radar chart.



23485
23486
23487
# File 'quick_sight/cfn_analysis.rb', line 23485

def category_label_options
  @category_label_options
end

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

The color axis of a radar chart.



23490
23491
23492
# File 'quick_sight/cfn_analysis.rb', line 23490

def color_axis
  @color_axis
end

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

The color label options of a radar chart.



23495
23496
23497
# File 'quick_sight/cfn_analysis.rb', line 23495

def color_label_options
  @color_label_options
end

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

The field well configuration of a RadarChartVisual .



23500
23501
23502
# File 'quick_sight/cfn_analysis.rb', line 23500

def field_wells
  @field_wells
end

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

The general visual interactions setup for a visual.



23505
23506
23507
# File 'quick_sight/cfn_analysis.rb', line 23505

def interactions
  @interactions
end

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

The legend display setup of the visual.



23510
23511
23512
# File 'quick_sight/cfn_analysis.rb', line 23510

def legend
  @legend
end

#shapeString? (readonly)

The shape of the radar chart.



23515
23516
23517
# File 'quick_sight/cfn_analysis.rb', line 23515

def shape
  @shape
end

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

The sort configuration of a RadarChartVisual .



23520
23521
23522
# File 'quick_sight/cfn_analysis.rb', line 23520

def sort_configuration
  @sort_configuration
end

#start_angleNumeric? (readonly)

The start angle of a radar chart's axis.



23525
23526
23527
# File 'quick_sight/cfn_analysis.rb', line 23525

def start_angle
  @start_angle
end

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

The palette (chart color) display setup of the visual.



23530
23531
23532
# File 'quick_sight/cfn_analysis.rb', line 23530

def visual_palette
  @visual_palette
end

Class Method Details

.jsii_propertiesObject



23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
# File 'quick_sight/cfn_analysis.rb', line 23532

def self.jsii_properties
  {
    :alternate_band_colors_visibility => "alternateBandColorsVisibility",
    :alternate_band_even_color => "alternateBandEvenColor",
    :alternate_band_odd_color => "alternateBandOddColor",
    :axes_range_scale => "axesRangeScale",
    :base_series_settings => "baseSeriesSettings",
    :category_axis => "categoryAxis",
    :category_label_options => "categoryLabelOptions",
    :color_axis => "colorAxis",
    :color_label_options => "colorLabelOptions",
    :field_wells => "fieldWells",
    :interactions => "interactions",
    :legend => "legend",
    :shape => "shape",
    :sort_configuration => "sortConfiguration",
    :start_angle => "startAngle",
    :visual_palette => "visualPalette",
  }
end

Instance Method Details

#to_jsiiObject



23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
# File 'quick_sight/cfn_analysis.rb', line 23553

def to_jsii
  result = {}
  result.merge!({
    "alternateBandColorsVisibility" => @alternate_band_colors_visibility,
    "alternateBandEvenColor" => @alternate_band_even_color,
    "alternateBandOddColor" => @alternate_band_odd_color,
    "axesRangeScale" => @axes_range_scale,
    "baseSeriesSettings" => @base_series_settings,
    "categoryAxis" => @category_axis,
    "categoryLabelOptions" => @category_label_options,
    "colorAxis" => @color_axis,
    "colorLabelOptions" => @color_label_options,
    "fieldWells" => @field_wells,
    "interactions" => @interactions,
    "legend" => @legend,
    "shape" => @shape,
    "sortConfiguration" => @sort_configuration,
    "startAngle" => @start_angle,
    "visualPalette" => @visual_palette,
  })
  result.compact
end