All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardBarChartConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardBarChartConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardBarChartOrientation
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardBarsArrangement
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property barsArrangement Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.
 * @property categoryAxis The label display options (grid line, range, scale, axis step) for bar chart category.
 * @property categoryLabelOptions The label options (label text, label visibility and sort icon visibility) for a bar chart.
 * @property colorLabelOptions The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.
 * @property contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup of the visual.
 * @property dataLabels The options that determine if visual data labels are displayed.
 * @property fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property orientation The orientation of the bars in a bar chart visual. There are two valid values in this structure:
 * - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.
 * - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
 * @property referenceLines The reference line setup of the visual.
 * @property smallMultiplesOptions The small multiples setup for the visual.
 * @property sortConfiguration The sort configuration of a `BarChartVisual` .
 * @property tooltip The tooltip display setup of the visual.
 * @property valueAxis The label display options (grid line, range, scale, axis step) for a bar chart value.
 * @property valueLabelOptions The label options (label text, label visibility and sort icon visibility) for a bar chart value.
 * @property visualPalette The palette (chart color) display setup of the visual.
 */
public data class DashboardBarChartConfigurationArgs(
    public val barsArrangement: Output? = null,
    public val categoryAxis: Output? = null,
    public val categoryLabelOptions: Output? = null,
    public val colorLabelOptions: Output? = null,
    public val contributionAnalysisDefaults: Output>? =
        null,
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val legend: Output? = null,
    public val orientation: Output? = null,
    public val referenceLines: Output>? = null,
    public val smallMultiplesOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tooltip: Output? = null,
    public val valueAxis: Output? = null,
    public val valueLabelOptions: Output? = null,
    public val visualPalette: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardBarChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardBarChartConfigurationArgs.builder()
            .barsArrangement(barsArrangement?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .categoryAxis(categoryAxis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .categoryLabelOptions(
                categoryLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .colorLabelOptions(colorLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .contributionAnalysisDefaults(
                contributionAnalysisDefaults?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .orientation(orientation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .referenceLines(
                referenceLines?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .smallMultiplesOptions(
                smallMultiplesOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sortConfiguration(sortConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tooltip(tooltip?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .valueAxis(valueAxis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .valueLabelOptions(valueLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardBarChartConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardBarChartConfigurationArgsBuilder internal constructor() {
    private var barsArrangement: Output? = null

    private var categoryAxis: Output? = null

    private var categoryLabelOptions: Output? = null

    private var colorLabelOptions: Output? = null

    private var contributionAnalysisDefaults: Output>? =
        null

    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var legend: Output? = null

    private var orientation: Output? = null

    private var referenceLines: Output>? = null

    private var smallMultiplesOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var tooltip: Output? = null

    private var valueAxis: Output? = null

    private var valueLabelOptions: Output? = null

    private var visualPalette: Output? = null

    /**
     * @param value Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.
     */
    @JvmName("ckdwqtugakibtrii")
    public suspend fun barsArrangement(`value`: Output) {
        this.barsArrangement = value
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) for bar chart category.
     */
    @JvmName("ruaoudfnlsalrbdh")
    public suspend fun categoryAxis(`value`: Output) {
        this.categoryAxis = value
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) for a bar chart.
     */
    @JvmName("mwqriqkayjhemeub")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.
     */
    @JvmName("ngtseuaamoouychb")
    public suspend fun colorLabelOptions(`value`: Output) {
        this.colorLabelOptions = value
    }

    /**
     * @param value The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("pbvuusxxbpuejkse")
    public suspend fun contributionAnalysisDefaults(`value`: Output>) {
        this.contributionAnalysisDefaults = value
    }

    @JvmName("kcsyqytopwmwipox")
    public suspend fun contributionAnalysisDefaults(vararg values: Output) {
        this.contributionAnalysisDefaults = Output.all(values.asList())
    }

    /**
     * @param values The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("yixdulmwlxnxihiq")
    public suspend fun contributionAnalysisDefaults(values: List>) {
        this.contributionAnalysisDefaults = Output.all(values)
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("wtatpexsupserdlf")
    public suspend fun dataLabels(`value`: Output) {
        this.dataLabels = value
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("cgllkyuffmaxesfc")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value The legend display setup of the visual.
     */
    @JvmName("gfmnvjoqujsufgqh")
    public suspend fun legend(`value`: Output) {
        this.legend = value
    }

    /**
     * @param value The orientation of the bars in a bar chart visual. There are two valid values in this structure:
     * - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.
     * - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
     */
    @JvmName("iqlafxwhuvahxfej")
    public suspend fun orientation(`value`: Output) {
        this.orientation = value
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("janryuthgmutwubn")
    public suspend fun referenceLines(`value`: Output>) {
        this.referenceLines = value
    }

    @JvmName("seuvbpcqabdlxmqx")
    public suspend fun referenceLines(vararg values: Output) {
        this.referenceLines = Output.all(values.asList())
    }

    /**
     * @param values The reference line setup of the visual.
     */
    @JvmName("knxpjmorlsbrepyh")
    public suspend fun referenceLines(values: List>) {
        this.referenceLines = Output.all(values)
    }

    /**
     * @param value The small multiples setup for the visual.
     */
    @JvmName("iemgollttfosklpy")
    public suspend fun smallMultiplesOptions(`value`: Output) {
        this.smallMultiplesOptions = value
    }

    /**
     * @param value The sort configuration of a `BarChartVisual` .
     */
    @JvmName("wdnhprxqqfqijdwl")
    public suspend fun sortConfiguration(`value`: Output) {
        this.sortConfiguration = value
    }

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("molugyjjcobqbqub")
    public suspend fun tooltip(`value`: Output) {
        this.tooltip = value
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) for a bar chart value.
     */
    @JvmName("ybrbmukbxsrncdia")
    public suspend fun valueAxis(`value`: Output) {
        this.valueAxis = value
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) for a bar chart value.
     */
    @JvmName("xecjprqblacfdorv")
    public suspend fun valueLabelOptions(`value`: Output) {
        this.valueLabelOptions = value
    }

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("bmubjkousvtpjkag")
    public suspend fun visualPalette(`value`: Output) {
        this.visualPalette = value
    }

    /**
     * @param value Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.
     */
    @JvmName("macsbtsxvuvpyjuq")
    public suspend fun barsArrangement(`value`: DashboardBarsArrangement?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.barsArrangement = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) for bar chart category.
     */
    @JvmName("tpmqpewpkthshsaj")
    public suspend fun categoryAxis(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryAxis = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, axis step) for bar chart category.
     */
    @JvmName("rkrpwrasxvdrhioc")
    public suspend fun categoryAxis(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryAxis = mapped
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) for a bar chart.
     */
    @JvmName("bpnnkjrctbrgehqm")
    public suspend fun categoryLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility and sort icon visibility) for a bar chart.
     */
    @JvmName("floisrgdputfiqtp")
    public suspend fun categoryLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.
     */
    @JvmName("rotacohjmbuccnty")
    public suspend fun colorLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.colorLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.
     */
    @JvmName("odlvdgewclebwusn")
    public suspend fun colorLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.colorLabelOptions = mapped
    }

    /**
     * @param value The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("xaqrneykkygnnnns")
    public suspend fun contributionAnalysisDefaults(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contributionAnalysisDefaults = mapped
    }

    /**
     * @param argument The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("dgdtmsqyfwijlyas")
    public suspend fun contributionAnalysisDefaults(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardContributionAnalysisDefaultArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.contributionAnalysisDefaults = mapped
    }

    /**
     * @param argument The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("dnjmsknfevqvmswk")
    public suspend fun contributionAnalysisDefaults(vararg argument: suspend DashboardContributionAnalysisDefaultArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardContributionAnalysisDefaultArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.contributionAnalysisDefaults = mapped
    }

    /**
     * @param argument The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("ukvicvghvjcghang")
    public suspend fun contributionAnalysisDefaults(argument: suspend DashboardContributionAnalysisDefaultArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardContributionAnalysisDefaultArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.contributionAnalysisDefaults = mapped
    }

    /**
     * @param values The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("hfdsqvumvaxnhotd")
    public suspend fun contributionAnalysisDefaults(vararg values: DashboardContributionAnalysisDefaultArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.contributionAnalysisDefaults = mapped
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("fkjllnicwthbyjsh")
    public suspend fun dataLabels(`value`: DashboardDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLabels = mapped
    }

    /**
     * @param argument The options that determine if visual data labels are displayed.
     */
    @JvmName("ooykugugrgsvpqyl")
    public suspend fun dataLabels(argument: suspend DashboardDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("exbhfecxchlafmks")
    public suspend fun fieldWells(`value`: DashboardBarChartFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field wells of the visual.
     */
    @JvmName("ocuyhmbcbbkfunbm")
    public suspend fun fieldWells(argument: suspend DashboardBarChartFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardBarChartFieldWellsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

    /**
     * @param value The legend display setup of the visual.
     */
    @JvmName("febjucqwtdjjuboe")
    public suspend fun legend(`value`: DashboardLegendOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.legend = mapped
    }

    /**
     * @param argument The legend display setup of the visual.
     */
    @JvmName("flkbldrgojdeuyen")
    public suspend fun legend(argument: suspend DashboardLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardLegendOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.legend = mapped
    }

    /**
     * @param value The orientation of the bars in a bar chart visual. There are two valid values in this structure:
     * - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.
     * - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
     */
    @JvmName("drblymrirfqmybaw")
    public suspend fun orientation(`value`: DashboardBarChartOrientation?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.orientation = mapped
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("ldfitmygilebkcxf")
    public suspend fun referenceLines(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.referenceLines = mapped
    }

    /**
     * @param argument The reference line setup of the visual.
     */
    @JvmName("dojelvmvskiitoow")
    public suspend fun referenceLines(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardReferenceLineArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

    /**
     * @param argument The reference line setup of the visual.
     */
    @JvmName("djutxtgrqigmcwwj")
    public suspend fun referenceLines(vararg argument: suspend DashboardReferenceLineArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardReferenceLineArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

    /**
     * @param argument The reference line setup of the visual.
     */
    @JvmName("grbqvffsuwevmcnr")
    public suspend fun referenceLines(argument: suspend DashboardReferenceLineArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardReferenceLineArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

    /**
     * @param values The reference line setup of the visual.
     */
    @JvmName("nlvwvblrapcyovcr")
    public suspend fun referenceLines(vararg values: DashboardReferenceLineArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.referenceLines = mapped
    }

    /**
     * @param value The small multiples setup for the visual.
     */
    @JvmName("wgkbwmiudctfdbjo")
    public suspend fun smallMultiplesOptions(`value`: DashboardSmallMultiplesOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.smallMultiplesOptions = mapped
    }

    /**
     * @param argument The small multiples setup for the visual.
     */
    @JvmName("qrprujwiahnpeael")
    public suspend fun smallMultiplesOptions(argument: suspend DashboardSmallMultiplesOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardSmallMultiplesOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.smallMultiplesOptions = mapped
    }

    /**
     * @param value The sort configuration of a `BarChartVisual` .
     */
    @JvmName("rjubesltyaioytwm")
    public suspend fun sortConfiguration(`value`: DashboardBarChartSortConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sortConfiguration = mapped
    }

    /**
     * @param argument The sort configuration of a `BarChartVisual` .
     */
    @JvmName("umykeyosjwswmfmb")
    public suspend fun sortConfiguration(argument: suspend DashboardBarChartSortConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardBarChartSortConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sortConfiguration = mapped
    }

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("erphqblxpxlnlayg")
    public suspend fun tooltip(`value`: DashboardTooltipOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tooltip = mapped
    }

    /**
     * @param argument The tooltip display setup of the visual.
     */
    @JvmName("kmqictptumvpogtb")
    public suspend fun tooltip(argument: suspend DashboardTooltipOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tooltip = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) for a bar chart value.
     */
    @JvmName("reimduireikqwxfp")
    public suspend fun valueAxis(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.valueAxis = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, axis step) for a bar chart value.
     */
    @JvmName("wbfyitfhvaifxpit")
    public suspend fun valueAxis(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.valueAxis = mapped
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) for a bar chart value.
     */
    @JvmName("ycpjdgeruyxhiyje")
    public suspend fun valueLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.valueLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility and sort icon visibility) for a bar chart value.
     */
    @JvmName("gijwgdvextlnfhfu")
    public suspend fun valueLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.valueLabelOptions = mapped
    }

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("weglawlogawtxjyv")
    public suspend fun visualPalette(`value`: DashboardVisualPaletteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visualPalette = mapped
    }

    /**
     * @param argument The palette (chart color) display setup of the visual.
     */
    @JvmName("vrjmxqcgwfdqacgo")
    public suspend fun visualPalette(argument: suspend DashboardVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    internal fun build(): DashboardBarChartConfigurationArgs = DashboardBarChartConfigurationArgs(
        barsArrangement = barsArrangement,
        categoryAxis = categoryAxis,
        categoryLabelOptions = categoryLabelOptions,
        colorLabelOptions = colorLabelOptions,
        contributionAnalysisDefaults = contributionAnalysisDefaults,
        dataLabels = dataLabels,
        fieldWells = fieldWells,
        legend = legend,
        orientation = orientation,
        referenceLines = referenceLines,
        smallMultiplesOptions = smallMultiplesOptions,
        sortConfiguration = sortConfiguration,
        tooltip = tooltip,
        valueAxis = valueAxis,
        valueLabelOptions = valueLabelOptions,
        visualPalette = visualPalette,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy