GeospatialCategoricalColorProperty Struct
The definition for a categorical color.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const geospatialCategoricalColorProperty: quicksight.CfnAnalysis.GeospatialCategoricalColorProperty = {
categoryDataColors: [{
color: 'color',
dataValue: 'dataValue',
}],
// the properties below are optional
defaultOpacity: 123,
nullDataSettings: {
symbolStyle: {
fillColor: 'fillColor',
strokeColor: 'strokeColor',
strokeWidth: 123,
},
},
nullDataVisibility: 'nullDataVisibility',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
geospatial_categorical_color_property = quicksight.CfnAnalysis.GeospatialCategoricalColorProperty(
category_data_colors=[quicksight.CfnAnalysis.GeospatialCategoricalDataColorProperty(
color="color",
data_value="dataValue"
)],
# the properties below are optional
default_opacity=123,
null_data_settings=quicksight.CfnAnalysis.GeospatialNullDataSettingsProperty(
symbol_style=quicksight.CfnAnalysis.GeospatialNullSymbolStyleProperty(
fill_color="fillColor",
stroke_color="strokeColor",
stroke_width=123
)
),
null_data_visibility="nullDataVisibility"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
GeospatialCategoricalColorProperty geospatialCategoricalColorProperty = GeospatialCategoricalColorProperty.builder()
.categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
.color("color")
.dataValue("dataValue")
.build()))
// the properties below are optional
.defaultOpacity(123)
.nullDataSettings(GeospatialNullDataSettingsProperty.builder()
.symbolStyle(GeospatialNullSymbolStyleProperty.builder()
.fillColor("fillColor")
.strokeColor("strokeColor")
.strokeWidth(123)
.build())
.build())
.nullDataVisibility("nullDataVisibility")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var geospatialCategoricalColorProperty = new GeospatialCategoricalColorProperty {
CategoryDataColors = new [] { new GeospatialCategoricalDataColorProperty {
Color = "color",
DataValue = "dataValue"
} },
// the properties below are optional
DefaultOpacity = 123,
NullDataSettings = new GeospatialNullDataSettingsProperty {
SymbolStyle = new GeospatialNullSymbolStyleProperty {
FillColor = "fillColor",
StrokeColor = "strokeColor",
StrokeWidth = 123
}
},
NullDataVisibility = "nullDataVisibility"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
geospatialCategoricalColorProperty := &GeospatialCategoricalColorProperty{
CategoryDataColors: []interface{}{
&GeospatialCategoricalDataColorProperty{
Color: jsii.String("color"),
DataValue: jsii.String("dataValue"),
},
},
// the properties below are optional
DefaultOpacity: jsii.Number(123),
NullDataSettings: &GeospatialNullDataSettingsProperty{
SymbolStyle: &GeospatialNullSymbolStyleProperty{
FillColor: jsii.String("fillColor"),
StrokeColor: jsii.String("strokeColor"),
StrokeWidth: jsii.Number(123),
},
},
NullDataVisibility: jsii.String("nullDataVisibility"),
}
Properties
categoryDataColorsIResolvable | IResolvable | CfnAnalysis.category_data_colorstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, GeospatialCategoricalDataColorProperty]]]categoryDataColorsIResolvableCategoryDataColorsIResolvableCategoryDataColorsinterface{} required #A list of categorical data colors for each category.
defaultOpacityoptionalnumberdefault_opacityoptionalint | floatdefaultOpacityoptionalNumberDefaultOpacityoptionaldoubleDefaultOpacityoptional*float64 #The default opacity of a categorical color.
nullDataSettingsoptionalIResolvable | CfnAnalysis.null_data_settingsoptionaltyping.Union[IResolvable, GeospatialNullDataSettingsProperty]nullDataSettingsoptionalIResolvableNullDataSettingsoptionalIResolvableNullDataSettingsoptionalinterface{} #The null data visualization settings.
nullDataVisibilityoptionalstringnull_data_visibilityoptionalstrnullDataVisibilityoptionalStringNullDataVisibilityoptionalstringNullDataVisibilityoptional*string #The state of visibility for null data.