aws-cdk-lib.aws_quicksight.CfnAnalysis.HistogramConfigurationProperty

interface HistogramConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnAnalysis.HistogramConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_HistogramConfigurationProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnAnalysis.HistogramConfigurationProperty
Pythonaws_cdk.aws_quicksight.CfnAnalysis.HistogramConfigurationProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnAnalysis » HistogramConfigurationProperty

The configuration for a HistogramVisual .

Example

// 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';

declare const dataDriven: any;
const histogramConfigurationProperty: quicksight.CfnAnalysis.HistogramConfigurationProperty = {
  binOptions: {
    binCount: {
      value: 123,
    },
    binWidth: {
      binCountLimit: 123,
      value: 123,
    },
    selectedBinType: 'selectedBinType',
    startValue: 123,
  },
  dataLabels: {
    categoryLabelVisibility: 'categoryLabelVisibility',
    dataLabelTypes: [{
      dataPathLabelType: {
        fieldId: 'fieldId',
        fieldValue: 'fieldValue',
        visibility: 'visibility',
      },
      fieldLabelType: {
        fieldId: 'fieldId',
        visibility: 'visibility',
      },
      maximumLabelType: {
        visibility: 'visibility',
      },
      minimumLabelType: {
        visibility: 'visibility',
      },
      rangeEndsLabelType: {
        visibility: 'visibility',
      },
    }],
    labelColor: 'labelColor',
    labelContent: 'labelContent',
    labelFontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontSize: {
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
    measureLabelVisibility: 'measureLabelVisibility',
    overlap: 'overlap',
    position: 'position',
    totalsVisibility: 'totalsVisibility',
    visibility: 'visibility',
  },
  fieldWells: {
    histogramAggregatedFieldWells: {
      values: [{
        calculatedMeasureField: {
          expression: 'expression',
          fieldId: 'fieldId',
        },
        categoricalMeasureField: {
          column: {
            columnName: 'columnName',
            dataSetIdentifier: 'dataSetIdentifier',
          },
          fieldId: 'fieldId',

          // the properties below are optional
          aggregationFunction: 'aggregationFunction',
          formatConfiguration: {
            nullValueFormatConfiguration: {
              nullString: 'nullString',
            },
            numericFormatConfiguration: {
              currencyDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                numberScale: 'numberScale',
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
                symbol: 'symbol',
              },
              numberDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                numberScale: 'numberScale',
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
              },
              percentageDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
              },
            },
          },
        },
        dateMeasureField: {
          column: {
            columnName: 'columnName',
            dataSetIdentifier: 'dataSetIdentifier',
          },
          fieldId: 'fieldId',

          // the properties below are optional
          aggregationFunction: 'aggregationFunction',
          formatConfiguration: {
            dateTimeFormat: 'dateTimeFormat',
            nullValueFormatConfiguration: {
              nullString: 'nullString',
            },
            numericFormatConfiguration: {
              currencyDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                numberScale: 'numberScale',
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
                symbol: 'symbol',
              },
              numberDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                numberScale: 'numberScale',
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
              },
              percentageDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
              },
            },
          },
        },
        numericalMeasureField: {
          column: {
            columnName: 'columnName',
            dataSetIdentifier: 'dataSetIdentifier',
          },
          fieldId: 'fieldId',

          // the properties below are optional
          aggregationFunction: {
            percentileAggregation: {
              percentileValue: 123,
            },
            simpleNumericalAggregation: 'simpleNumericalAggregation',
          },
          formatConfiguration: {
            formatConfiguration: {
              currencyDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                numberScale: 'numberScale',
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
                symbol: 'symbol',
              },
              numberDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                numberScale: 'numberScale',
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
              },
              percentageDisplayFormatConfiguration: {
                decimalPlacesConfiguration: {
                  decimalPlaces: 123,
                },
                negativeValueConfiguration: {
                  displayMode: 'displayMode',
                },
                nullValueFormatConfiguration: {
                  nullString: 'nullString',
                },
                prefix: 'prefix',
                separatorConfiguration: {
                  decimalSeparator: 'decimalSeparator',
                  thousandsSeparator: {
                    symbol: 'symbol',
                    visibility: 'visibility',
                  },
                },
                suffix: 'suffix',
              },
            },
          },
        },
      }],
    },
  },
  tooltip: {
    fieldBasedTooltip: {
      aggregationVisibility: 'aggregationVisibility',
      tooltipFields: [{
        columnTooltipItem: {
          column: {
            columnName: 'columnName',
            dataSetIdentifier: 'dataSetIdentifier',
          },

          // the properties below are optional
          aggregation: {
            categoricalAggregationFunction: 'categoricalAggregationFunction',
            dateAggregationFunction: 'dateAggregationFunction',
            numericalAggregationFunction: {
              percentileAggregation: {
                percentileValue: 123,
              },
              simpleNumericalAggregation: 'simpleNumericalAggregation',
            },
          },
          label: 'label',
          visibility: 'visibility',
        },
        fieldTooltipItem: {
          fieldId: 'fieldId',

          // the properties below are optional
          label: 'label',
          visibility: 'visibility',
        },
      }],
      tooltipTitleType: 'tooltipTitleType',
    },
    selectedTooltipType: 'selectedTooltipType',
    tooltipVisibility: 'tooltipVisibility',
  },
  visualPalette: {
    chartColor: 'chartColor',
    colorMap: [{
      color: 'color',
      element: {
        fieldId: 'fieldId',
        fieldValue: 'fieldValue',
      },

      // the properties below are optional
      timeGranularity: 'timeGranularity',
    }],
  },
  xAxisDisplayOptions: {
    axisLineVisibility: 'axisLineVisibility',
    axisOffset: 'axisOffset',
    dataOptions: {
      dateAxisOptions: {
        missingDateVisibility: 'missingDateVisibility',
      },
      numericAxisOptions: {
        range: {
          dataDriven: dataDriven,
          minMax: {
            maximum: 123,
            minimum: 123,
          },
        },
        scale: {
          linear: {
            stepCount: 123,
            stepSize: 123,
          },
          logarithmic: {
            base: 123,
          },
        },
      },
    },
    gridLineVisibility: 'gridLineVisibility',
    scrollbarOptions: {
      visibility: 'visibility',
      visibleRange: {
        percentRange: {
          from: 123,
          to: 123,
        },
      },
    },
    tickLabelOptions: {
      labelOptions: {
        customLabel: 'customLabel',
        fontConfiguration: {
          fontColor: 'fontColor',
          fontDecoration: 'fontDecoration',
          fontSize: {
            relative: 'relative',
          },
          fontStyle: 'fontStyle',
          fontWeight: {
            name: 'name',
          },
        },
        visibility: 'visibility',
      },
      rotationAngle: 123,
    },
  },
  xAxisLabelOptions: {
    axisLabelOptions: [{
      applyTo: {
        column: {
          columnName: 'columnName',
          dataSetIdentifier: 'dataSetIdentifier',
        },
        fieldId: 'fieldId',
      },
      customLabel: 'customLabel',
      fontConfiguration: {
        fontColor: 'fontColor',
        fontDecoration: 'fontDecoration',
        fontSize: {
          relative: 'relative',
        },
        fontStyle: 'fontStyle',
        fontWeight: {
          name: 'name',
        },
      },
    }],
    sortIconVisibility: 'sortIconVisibility',
    visibility: 'visibility',
  },
  yAxisDisplayOptions: {
    axisLineVisibility: 'axisLineVisibility',
    axisOffset: 'axisOffset',
    dataOptions: {
      dateAxisOptions: {
        missingDateVisibility: 'missingDateVisibility',
      },
      numericAxisOptions: {
        range: {
          dataDriven: dataDriven,
          minMax: {
            maximum: 123,
            minimum: 123,
          },
        },
        scale: {
          linear: {
            stepCount: 123,
            stepSize: 123,
          },
          logarithmic: {
            base: 123,
          },
        },
      },
    },
    gridLineVisibility: 'gridLineVisibility',
    scrollbarOptions: {
      visibility: 'visibility',
      visibleRange: {
        percentRange: {
          from: 123,
          to: 123,
        },
      },
    },
    tickLabelOptions: {
      labelOptions: {
        customLabel: 'customLabel',
        fontConfiguration: {
          fontColor: 'fontColor',
          fontDecoration: 'fontDecoration',
          fontSize: {
            relative: 'relative',
          },
          fontStyle: 'fontStyle',
          fontWeight: {
            name: 'name',
          },
        },
        visibility: 'visibility',
      },
      rotationAngle: 123,
    },
  },
};

Properties

NameTypeDescription
binOptions?IResolvable | HistogramBinOptionsPropertyThe options that determine the presentation of histogram bins.
dataLabels?IResolvable | DataLabelOptionsPropertyThe data label configuration of a histogram.
fieldWells?IResolvable | HistogramFieldWellsPropertyThe field well configuration of a histogram.
tooltip?IResolvable | TooltipOptionsPropertyThe tooltip configuration of a histogram.
visualPalette?IResolvable | VisualPalettePropertyThe visual palette configuration of a histogram.
xAxisDisplayOptions?IResolvable | AxisDisplayOptionsPropertyThe options that determine the presentation of the x-axis.
xAxisLabelOptions?IResolvable | ChartAxisLabelOptionsPropertyThe options that determine the presentation of the x-axis label.
yAxisDisplayOptions?IResolvable | AxisDisplayOptionsPropertyThe options that determine the presentation of the y-axis.

binOptions?

Type: IResolvable | HistogramBinOptionsProperty (optional)

The options that determine the presentation of histogram bins.


dataLabels?

Type: IResolvable | DataLabelOptionsProperty (optional)

The data label configuration of a histogram.


fieldWells?

Type: IResolvable | HistogramFieldWellsProperty (optional)

The field well configuration of a histogram.


tooltip?

Type: IResolvable | TooltipOptionsProperty (optional)

The tooltip configuration of a histogram.


visualPalette?

Type: IResolvable | VisualPaletteProperty (optional)

The visual palette configuration of a histogram.


xAxisDisplayOptions?

Type: IResolvable | AxisDisplayOptionsProperty (optional)

The options that determine the presentation of the x-axis.


xAxisLabelOptions?

Type: IResolvable | ChartAxisLabelOptionsProperty (optional)

The options that determine the presentation of the x-axis label.


yAxisDisplayOptions?

Type: IResolvable | AxisDisplayOptionsProperty (optional)

The options that determine the presentation of the y-axis.