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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplateComboChartConfigurationArgs.builder
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 barDataLabels The options that determine if visual data labels are displayed.
 * The data label options for a bar in a combo chart.
 * @property barsArrangement Determines the bar arrangement in a combo chart. The following are valid values in this structure:
 * - `CLUSTERED` : For clustered bar combo charts.
 * - `STACKED` : For stacked bar combo charts.
 * - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error.
 * @property categoryAxis The category axis of a combo chart.
 * @property categoryLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well.
 * @property colorLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well.
 * @property fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property lineDataLabels The options that determine if visual data labels are displayed.
 * The data label options for a line in a combo chart.
 * @property primaryYAxisDisplayOptions The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.
 * @property primaryYAxisLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well.
 * @property referenceLines The reference line setup of the visual.
 * @property secondaryYAxisDisplayOptions The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.
 * @property secondaryYAxisLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well.
 * @property sortConfiguration The sort configuration of a `ComboChartVisual` .
 * @property tooltip The legend display setup of the visual.
 * @property visualPalette The palette (chart color) display setup of the visual.
 */
public data class TemplateComboChartConfigurationArgs(
    public val barDataLabels: Output? = null,
    public val barsArrangement: Output? = null,
    public val categoryAxis: Output? = null,
    public val categoryLabelOptions: Output? = null,
    public val colorLabelOptions: Output? = null,
    public val fieldWells: Output? = null,
    public val legend: Output? = null,
    public val lineDataLabels: Output? = null,
    public val primaryYAxisDisplayOptions: Output? = null,
    public val primaryYAxisLabelOptions: Output? = null,
    public val referenceLines: Output>? = null,
    public val secondaryYAxisDisplayOptions: Output? = null,
    public val secondaryYAxisLabelOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tooltip: Output? = null,
    public val visualPalette: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateComboChartConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.TemplateComboChartConfigurationArgs.builder()
        .barDataLabels(barDataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .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() }) }))
        .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .lineDataLabels(lineDataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .primaryYAxisDisplayOptions(
            primaryYAxisDisplayOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .primaryYAxisLabelOptions(
            primaryYAxisLabelOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .referenceLines(
            referenceLines?.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                })
            }),
        )
        .secondaryYAxisDisplayOptions(
            secondaryYAxisDisplayOptions?.applyValue({ args0 ->
                args0.let({ args0 -> args0.toJava() })
            }),
        )
        .secondaryYAxisLabelOptions(
            secondaryYAxisLabelOptions?.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() }) }))
        .visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateComboChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateComboChartConfigurationArgsBuilder internal constructor() {
    private var barDataLabels: Output? = null

    private var barsArrangement: Output? = null

    private var categoryAxis: Output? = null

    private var categoryLabelOptions: Output? = null

    private var colorLabelOptions: Output? = null

    private var fieldWells: Output? = null

    private var legend: Output? = null

    private var lineDataLabels: Output? = null

    private var primaryYAxisDisplayOptions: Output? = null

    private var primaryYAxisLabelOptions: Output? = null

    private var referenceLines: Output>? = null

    private var secondaryYAxisDisplayOptions: Output? = null

    private var secondaryYAxisLabelOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var tooltip: Output? = null

    private var visualPalette: Output? = null

    /**
     * @param value The options that determine if visual data labels are displayed.
     * The data label options for a bar in a combo chart.
     */
    @JvmName("vacaprtajxkxhwiq")
    public suspend fun barDataLabels(`value`: Output) {
        this.barDataLabels = value
    }

    /**
     * @param value Determines the bar arrangement in a combo chart. The following are valid values in this structure:
     * - `CLUSTERED` : For clustered bar combo charts.
     * - `STACKED` : For stacked bar combo charts.
     * - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error.
     */
    @JvmName("reqoyadlduumaqef")
    public suspend fun barsArrangement(`value`: Output) {
        this.barsArrangement = value
    }

    /**
     * @param value The category axis of a combo chart.
     */
    @JvmName("klqbohxdhahbqfdp")
    public suspend fun categoryAxis(`value`: Output) {
        this.categoryAxis = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well.
     */
    @JvmName("balgbujxpeypfhft")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well.
     */
    @JvmName("sbdmqxwxlsxksmbe")
    public suspend fun colorLabelOptions(`value`: Output) {
        this.colorLabelOptions = value
    }

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

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

    /**
     * @param value The options that determine if visual data labels are displayed.
     * The data label options for a line in a combo chart.
     */
    @JvmName("qqieaobkvqjswbqn")
    public suspend fun lineDataLabels(`value`: Output) {
        this.lineDataLabels = value
    }

    /**
     * @param value The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.
     */
    @JvmName("ysjubwwtusgtvshb")
    public suspend fun primaryYAxisDisplayOptions(`value`: Output) {
        this.primaryYAxisDisplayOptions = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well.
     */
    @JvmName("ttoeecarvfquojvl")
    public suspend fun primaryYAxisLabelOptions(`value`: Output) {
        this.primaryYAxisLabelOptions = value
    }

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

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

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

    /**
     * @param value The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.
     */
    @JvmName("yhotfkqrpoxixore")
    public suspend fun secondaryYAxisDisplayOptions(`value`: Output) {
        this.secondaryYAxisDisplayOptions = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well.
     */
    @JvmName("mfuaqvwclliqgsog")
    public suspend fun secondaryYAxisLabelOptions(`value`: Output) {
        this.secondaryYAxisLabelOptions = value
    }

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

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

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

    /**
     * @param value The options that determine if visual data labels are displayed.
     * The data label options for a bar in a combo chart.
     */
    @JvmName("ugswvngctwenxltv")
    public suspend fun barDataLabels(`value`: TemplateDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.barDataLabels = mapped
    }

    /**
     * @param argument The options that determine if visual data labels are displayed.
     * The data label options for a bar in a combo chart.
     */
    @JvmName("bwoxbdysrkmdxgan")
    public suspend fun barDataLabels(argument: suspend TemplateDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.barDataLabels = mapped
    }

    /**
     * @param value Determines the bar arrangement in a combo chart. The following are valid values in this structure:
     * - `CLUSTERED` : For clustered bar combo charts.
     * - `STACKED` : For stacked bar combo charts.
     * - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error.
     */
    @JvmName("lfygxousnhhtehou")
    public suspend fun barsArrangement(`value`: TemplateBarsArrangement?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.barsArrangement = mapped
    }

    /**
     * @param value The category axis of a combo chart.
     */
    @JvmName("idujbjyinfwekumn")
    public suspend fun categoryAxis(`value`: TemplateAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryAxis = mapped
    }

    /**
     * @param argument The category axis of a combo chart.
     */
    @JvmName("ojojvebmonuktyfh")
    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) of a combo chart category (group/color) field well.
     */
    @JvmName("ksfimviwdwosawxh")
    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) of a combo chart category (group/color) field well.
     */
    @JvmName("nfmgyxcbuimwpmgb")
    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) of a combo chart's color field well.
     */
    @JvmName("qkehtxikujpmdxer")
    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) of a combo chart's color field well.
     */
    @JvmName("hncxlvcyexgococy")
    public suspend fun colorLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.colorLabelOptions = mapped
    }

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

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

    /**
     * @param value The legend display setup of the visual.
     */
    @JvmName("wolswgppumpeeevl")
    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("daslikntyfbruilb")
    public suspend fun legend(argument: suspend TemplateLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateLegendOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.legend = mapped
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     * The data label options for a line in a combo chart.
     */
    @JvmName("jfnsyowjxoialvjf")
    public suspend fun lineDataLabels(`value`: TemplateDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lineDataLabels = mapped
    }

    /**
     * @param argument The options that determine if visual data labels are displayed.
     * The data label options for a line in a combo chart.
     */
    @JvmName("siwoiknfuencmoap")
    public suspend fun lineDataLabels(argument: suspend TemplateDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.lineDataLabels = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.
     */
    @JvmName("vjqmbtaqypxfdwvp")
    public suspend fun primaryYAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.
     */
    @JvmName("exdhuljkmldfspif")
    public suspend fun primaryYAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well.
     */
    @JvmName("kicgbfnsepvmjjkv")
    public suspend fun primaryYAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryYAxisLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well.
     */
    @JvmName("mkecrrdmrobuirda")
    public suspend fun primaryYAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisLabelOptions = mapped
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("kenosrqlutpsanad")
    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("fbexyjoocrupnahx")
    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("rwlrenbptnxleipl")
    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("mnfrmayxqxrufbaf")
    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("figtnmxhfjlludgx")
    public suspend fun referenceLines(vararg values: TemplateReferenceLineArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.referenceLines = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.
     */
    @JvmName("oykumtebbtjaccou")
    public suspend fun secondaryYAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secondaryYAxisDisplayOptions = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.
     */
    @JvmName("nusalidefxtbxeuy")
    public suspend fun secondaryYAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.secondaryYAxisDisplayOptions = mapped
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well.
     */
    @JvmName("dukdcvamfbrxkoog")
    public suspend fun secondaryYAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secondaryYAxisLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well.
     */
    @JvmName("xwkhfcvkyqvtbtic")
    public suspend fun secondaryYAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.secondaryYAxisLabelOptions = mapped
    }

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

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

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

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

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

    internal fun build(): TemplateComboChartConfigurationArgs = TemplateComboChartConfigurationArgs(
        barDataLabels = barDataLabels,
        barsArrangement = barsArrangement,
        categoryAxis = categoryAxis,
        categoryLabelOptions = categoryLabelOptions,
        colorLabelOptions = colorLabelOptions,
        fieldWells = fieldWells,
        legend = legend,
        lineDataLabels = lineDataLabels,
        primaryYAxisDisplayOptions = primaryYAxisDisplayOptions,
        primaryYAxisLabelOptions = primaryYAxisLabelOptions,
        referenceLines = referenceLines,
        secondaryYAxisDisplayOptions = secondaryYAxisDisplayOptions,
        secondaryYAxisLabelOptions = secondaryYAxisLabelOptions,
        sortConfiguration = sortConfiguration,
        tooltip = tooltip,
        visualPalette = visualPalette,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy