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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateBarChartConfigurationArgs.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.TemplateBarChartConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarChartOrientation
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarsArrangement
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 TemplateBarChartConfigurationArgs(
    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.TemplateBarChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateBarChartConfigurationArgs.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 [TemplateBarChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateBarChartConfigurationArgsBuilder 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("nktvrlcdxprpjyor")
    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("qnnpixcklxmvsjgx")
    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("mpsolcsiajnvwlvb")
    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("xyfhttqfbptwytxj")
    public suspend fun colorLabelOptions(`value`: Output) {
        this.colorLabelOptions = value
    }

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

    @JvmName("advtgurxrjhksucq")
    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("kgorrctnntnisjiu")
    public suspend fun contributionAnalysisDefaults(values: List>) {
        this.contributionAnalysisDefaults = Output.all(values)
    }

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

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

    /**
     * @param value The legend display setup of the visual.
     */
    @JvmName("cdijkmtpytwihyim")
    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("yhunwyhbvgkrykqa")
    public suspend fun orientation(`value`: Output) {
        this.orientation = value
    }

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

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

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

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

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

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("obbmriyqphwnngwi")
    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("atvmvdwarctgaebd")
    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("khmhbsiltgycgvho")
    public suspend fun valueLabelOptions(`value`: Output) {
        this.valueLabelOptions = value
    }

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("elkgqgmokkedvwur")
    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("bjuibdfgxvypxkct")
    public suspend fun barsArrangement(`value`: TemplateBarsArrangement?) {
        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("ljkhhgtkyhhjbkwd")
    public suspend fun categoryAxis(`value`: TemplateAxisDisplayOptionsArgs?) {
        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("knimrdifauqhhqjq")
    public suspend fun categoryAxis(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().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("twigcurknhnvslyc")
    public suspend fun categoryLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("sbtsxkihhjhqjvwb")
    public suspend fun categoryLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().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("nxduerjncnqgwxxs")
    public suspend fun colorLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("aqqvcptiejonldrj")
    public suspend fun colorLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.colorLabelOptions = mapped
    }

    /**
     * @param value The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("rwodfwtryilfxaod")
    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("quwkgnpiqugumpfw")
    public suspend fun contributionAnalysisDefaults(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateContributionAnalysisDefaultArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.contributionAnalysisDefaults = mapped
    }

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

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

    /**
     * @param values The contribution analysis (anomaly configuration) setup of the visual.
     */
    @JvmName("yegsofmeiqwyqxqr")
    public suspend fun contributionAnalysisDefaults(vararg values: TemplateContributionAnalysisDefaultArgs) {
        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("ihmpnogxftsuiosd")
    public suspend fun dataLabels(`value`: TemplateDataLabelOptionsArgs?) {
        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("rspurijkglturypq")
    public suspend fun dataLabels(argument: suspend TemplateDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

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

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

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

    /**
     * @param argument The legend display setup of the visual.
     */
    @JvmName("fyiejpfydkljgxmj")
    public suspend fun legend(argument: suspend TemplateLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateLegendOptionsArgsBuilder().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("udmbajolxfjjmgyj")
    public suspend fun orientation(`value`: TemplateBarChartOrientation?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.orientation = mapped
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("holbxccxnrqxmwab")
    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("jrtlphptauhpogjj")
    public suspend fun referenceLines(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateReferenceLineArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

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

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

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

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

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

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

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

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

    /**
     * @param argument The tooltip display setup of the visual.
     */
    @JvmName("qgqieqjvtvuaxuea")
    public suspend fun tooltip(argument: suspend TemplateTooltipOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateTooltipOptionsArgsBuilder().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("jgjnbdbvkruuvfqx")
    public suspend fun valueAxis(`value`: TemplateAxisDisplayOptionsArgs?) {
        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("uqhbikllwysfpgwt")
    public suspend fun valueAxis(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().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("xuogunfmoxxfoiup")
    public suspend fun valueLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("baywcoxdllblowqj")
    public suspend fun valueLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.valueLabelOptions = mapped
    }

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("tygbnmargtjbpole")
    public suspend fun visualPalette(`value`: TemplateVisualPaletteArgs?) {
        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("yuasjfokxghfrphw")
    public suspend fun visualPalette(argument: suspend TemplateVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    internal fun build(): TemplateBarChartConfigurationArgs = TemplateBarChartConfigurationArgs(
        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