DataColorProperty Struct
Determines the color that is applied to a particular data value.
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 dataColorProperty: quicksight.CfnAnalysis.DataColorProperty = {
color: 'color',
dataValue: 123,
};
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
data_color_property = quicksight.CfnAnalysis.DataColorProperty(
color="color",
data_value=123
)
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.*;
DataColorProperty dataColorProperty = DataColorProperty.builder()
.color("color")
.dataValue(123)
.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 dataColorProperty = new DataColorProperty {
Color = "color",
DataValue = 123
};
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"
dataColorProperty := &DataColorProperty{
Color: jsii.String("color"),
DataValue: jsii.Number(123),
}
Properties
The color that is applied to the data value.
dataValueoptionalnumberdata_valueoptionalint | floatdataValueoptionalNumberDataValueoptionaldoubleDataValueoptional*float64#The data value that the color is applied to.