Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateLineChartConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateLineChartConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateLineChartType
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 contributionAnalysisDefaults The default configuration of a line chart's contribution analysis.
* @property dataLabels The data label configuration of a line chart.
* @property defaultSeriesSettings The options that determine the default presentation of all line series in `LineChartVisual` .
* @property fieldWells The field well configuration of a line chart.
* @property forecastConfigurations The forecast configuration of a line chart.
* @property legend The legend configuration of a line chart.
* @property primaryYAxisDisplayOptions The series axis configuration of a line chart.
* @property primaryYAxisLabelOptions The options that determine the presentation of the y-axis label.
* @property referenceLines The reference lines configuration of a line chart.
* @property secondaryYAxisDisplayOptions The series axis configuration of a line chart.
* @property secondaryYAxisLabelOptions The options that determine the presentation of the secondary y-axis label.
* @property series The series item configuration of a line chart.
* @property smallMultiplesOptions The small multiples setup for the visual.
* @property sortConfiguration The sort configuration of a line chart.
* @property tooltip The tooltip configuration of a line chart.
* @property type Determines the type of the line chart.
* @property visualPalette The visual palette configuration of a line chart.
* @property xAxisDisplayOptions The options that determine the presentation of the x-axis.
* @property xAxisLabelOptions The options that determine the presentation of the x-axis label.
*/
public data class TemplateLineChartConfigurationArgs(
public val contributionAnalysisDefaults: Output>? =
null,
public val dataLabels: Output? = null,
public val defaultSeriesSettings: Output? = null,
public val fieldWells: Output? = null,
public val forecastConfigurations: Output>? = null,
public val legend: 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 series: Output>? = null,
public val smallMultiplesOptions: Output? = null,
public val sortConfiguration: Output? = null,
public val tooltip: Output? = null,
public val type: Output? = null,
public val visualPalette: Output? = null,
public val xAxisDisplayOptions: Output? = null,
public val xAxisLabelOptions: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateLineChartConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateLineChartConfigurationArgs.builder()
.contributionAnalysisDefaults(
contributionAnalysisDefaults?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.defaultSeriesSettings(
defaultSeriesSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.forecastConfigurations(
forecastConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.legend(legend?.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()
})
}),
)
.series(series?.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() }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.xAxisDisplayOptions(
xAxisDisplayOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.xAxisLabelOptions(
xAxisLabelOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TemplateLineChartConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateLineChartConfigurationArgsBuilder internal constructor() {
private var contributionAnalysisDefaults: Output>? =
null
private var dataLabels: Output? = null
private var defaultSeriesSettings: Output? = null
private var fieldWells: Output? = null
private var forecastConfigurations: Output>? = null
private var legend: 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 series: Output>? = null
private var smallMultiplesOptions: Output? = null
private var sortConfiguration: Output? = null
private var tooltip: Output? = null
private var type: Output? = null
private var visualPalette: Output? = null
private var xAxisDisplayOptions: Output? = null
private var xAxisLabelOptions: Output? = null
/**
* @param value The default configuration of a line chart's contribution analysis.
*/
@JvmName("fjngrgxfkwqsfrsg")
public suspend fun contributionAnalysisDefaults(`value`: Output>) {
this.contributionAnalysisDefaults = value
}
@JvmName("ykkadoypdaudmrrh")
public suspend fun contributionAnalysisDefaults(vararg values: Output) {
this.contributionAnalysisDefaults = Output.all(values.asList())
}
/**
* @param values The default configuration of a line chart's contribution analysis.
*/
@JvmName("poyxcqstgycxpjvn")
public suspend fun contributionAnalysisDefaults(values: List>) {
this.contributionAnalysisDefaults = Output.all(values)
}
/**
* @param value The data label configuration of a line chart.
*/
@JvmName("fdorvcqnvojwgmve")
public suspend fun dataLabels(`value`: Output) {
this.dataLabels = value
}
/**
* @param value The options that determine the default presentation of all line series in `LineChartVisual` .
*/
@JvmName("gnccjfwhkiwjukns")
public suspend fun defaultSeriesSettings(`value`: Output) {
this.defaultSeriesSettings = value
}
/**
* @param value The field well configuration of a line chart.
*/
@JvmName("nrwclcbtkasqvnjq")
public suspend fun fieldWells(`value`: Output) {
this.fieldWells = value
}
/**
* @param value The forecast configuration of a line chart.
*/
@JvmName("fnckhqphekjmsull")
public suspend fun forecastConfigurations(`value`: Output>) {
this.forecastConfigurations = value
}
@JvmName("uvjfqpllhsxhbbnw")
public suspend fun forecastConfigurations(vararg values: Output) {
this.forecastConfigurations = Output.all(values.asList())
}
/**
* @param values The forecast configuration of a line chart.
*/
@JvmName("oidvsmchbyxxsekc")
public suspend fun forecastConfigurations(values: List>) {
this.forecastConfigurations = Output.all(values)
}
/**
* @param value The legend configuration of a line chart.
*/
@JvmName("usrnaeuebqckivun")
public suspend fun legend(`value`: Output) {
this.legend = value
}
/**
* @param value The series axis configuration of a line chart.
*/
@JvmName("xexmqunokaoaxbcq")
public suspend fun primaryYAxisDisplayOptions(`value`: Output) {
this.primaryYAxisDisplayOptions = value
}
/**
* @param value The options that determine the presentation of the y-axis label.
*/
@JvmName("ihvhrdnbnqqdpdma")
public suspend fun primaryYAxisLabelOptions(`value`: Output) {
this.primaryYAxisLabelOptions = value
}
/**
* @param value The reference lines configuration of a line chart.
*/
@JvmName("dkjfoscmdfrshths")
public suspend fun referenceLines(`value`: Output>) {
this.referenceLines = value
}
@JvmName("kccmosyliourlqhg")
public suspend fun referenceLines(vararg values: Output) {
this.referenceLines = Output.all(values.asList())
}
/**
* @param values The reference lines configuration of a line chart.
*/
@JvmName("fbraxbithkqmstuw")
public suspend fun referenceLines(values: List>) {
this.referenceLines = Output.all(values)
}
/**
* @param value The series axis configuration of a line chart.
*/
@JvmName("hkcfyyojwuqeiwvk")
public suspend fun secondaryYAxisDisplayOptions(`value`: Output) {
this.secondaryYAxisDisplayOptions = value
}
/**
* @param value The options that determine the presentation of the secondary y-axis label.
*/
@JvmName("smlhiointekjypxb")
public suspend fun secondaryYAxisLabelOptions(`value`: Output) {
this.secondaryYAxisLabelOptions = value
}
/**
* @param value The series item configuration of a line chart.
*/
@JvmName("caxpnmcrbnhqdobf")
public suspend fun series(`value`: Output>) {
this.series = value
}
@JvmName("ujmqihisntuuvyvd")
public suspend fun series(vararg values: Output) {
this.series = Output.all(values.asList())
}
/**
* @param values The series item configuration of a line chart.
*/
@JvmName("kscdnywxmxwsgdff")
public suspend fun series(values: List>) {
this.series = Output.all(values)
}
/**
* @param value The small multiples setup for the visual.
*/
@JvmName("xoogsbrktuawwxvh")
public suspend fun smallMultiplesOptions(`value`: Output) {
this.smallMultiplesOptions = value
}
/**
* @param value The sort configuration of a line chart.
*/
@JvmName("exbooxiodrhupkss")
public suspend fun sortConfiguration(`value`: Output) {
this.sortConfiguration = value
}
/**
* @param value The tooltip configuration of a line chart.
*/
@JvmName("cvfukqjexwhxfgas")
public suspend fun tooltip(`value`: Output) {
this.tooltip = value
}
/**
* @param value Determines the type of the line chart.
*/
@JvmName("huwrwwyfgipgnpss")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The visual palette configuration of a line chart.
*/
@JvmName("somsehaxmtjmldyk")
public suspend fun visualPalette(`value`: Output) {
this.visualPalette = value
}
/**
* @param value The options that determine the presentation of the x-axis.
*/
@JvmName("pddsolcegiiembrh")
public suspend fun xAxisDisplayOptions(`value`: Output) {
this.xAxisDisplayOptions = value
}
/**
* @param value The options that determine the presentation of the x-axis label.
*/
@JvmName("kqvkrfaiiqihhigv")
public suspend fun xAxisLabelOptions(`value`: Output) {
this.xAxisLabelOptions = value
}
/**
* @param value The default configuration of a line chart's contribution analysis.
*/
@JvmName("ekscxyupvjibmdbw")
public suspend fun contributionAnalysisDefaults(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contributionAnalysisDefaults = mapped
}
/**
* @param argument The default configuration of a line chart's contribution analysis.
*/
@JvmName("hmoaprvnqsvvukxx")
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 default configuration of a line chart's contribution analysis.
*/
@JvmName("bqfxvevdnrnnppyh")
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 default configuration of a line chart's contribution analysis.
*/
@JvmName("jajquyeddqemqlhd")
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 default configuration of a line chart's contribution analysis.
*/
@JvmName("uheubcsbegkhcmmg")
public suspend fun contributionAnalysisDefaults(vararg values: TemplateContributionAnalysisDefaultArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.contributionAnalysisDefaults = mapped
}
/**
* @param value The data label configuration of a line chart.
*/
@JvmName("toesrclcrxhdxeri")
public suspend fun dataLabels(`value`: TemplateDataLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataLabels = mapped
}
/**
* @param argument The data label configuration of a line chart.
*/
@JvmName("dfyxmbcqnwetvdjf")
public suspend fun dataLabels(argument: suspend TemplateDataLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.dataLabels = mapped
}
/**
* @param value The options that determine the default presentation of all line series in `LineChartVisual` .
*/
@JvmName("lwmjkkbgxevgrgch")
public suspend fun defaultSeriesSettings(`value`: TemplateLineChartDefaultSeriesSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultSeriesSettings = mapped
}
/**
* @param argument The options that determine the default presentation of all line series in `LineChartVisual` .
*/
@JvmName("yogskcarjnmjblqn")
public suspend fun defaultSeriesSettings(argument: suspend TemplateLineChartDefaultSeriesSettingsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLineChartDefaultSeriesSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.defaultSeriesSettings = mapped
}
/**
* @param value The field well configuration of a line chart.
*/
@JvmName("jiddksacxcmhqnkf")
public suspend fun fieldWells(`value`: TemplateLineChartFieldWellsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fieldWells = mapped
}
/**
* @param argument The field well configuration of a line chart.
*/
@JvmName("liswgdlkposxiwih")
public suspend fun fieldWells(argument: suspend TemplateLineChartFieldWellsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLineChartFieldWellsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fieldWells = mapped
}
/**
* @param value The forecast configuration of a line chart.
*/
@JvmName("oldfdfieshrlxpcf")
public suspend fun forecastConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.forecastConfigurations = mapped
}
/**
* @param argument The forecast configuration of a line chart.
*/
@JvmName("upvcpvfrsxwciyek")
public suspend fun forecastConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
TemplateForecastConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.forecastConfigurations = mapped
}
/**
* @param argument The forecast configuration of a line chart.
*/
@JvmName("lcfnsjphswrvqlwf")
public suspend fun forecastConfigurations(vararg argument: suspend TemplateForecastConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
TemplateForecastConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.forecastConfigurations = mapped
}
/**
* @param argument The forecast configuration of a line chart.
*/
@JvmName("gxiqyfgwhhjgxaea")
public suspend fun forecastConfigurations(argument: suspend TemplateForecastConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
TemplateForecastConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.forecastConfigurations = mapped
}
/**
* @param values The forecast configuration of a line chart.
*/
@JvmName("xivntxwnfqksfdyj")
public suspend fun forecastConfigurations(vararg values: TemplateForecastConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.forecastConfigurations = mapped
}
/**
* @param value The legend configuration of a line chart.
*/
@JvmName("bowavifpnvlxbncf")
public suspend fun legend(`value`: TemplateLegendOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.legend = mapped
}
/**
* @param argument The legend configuration of a line chart.
*/
@JvmName("gccafgfldqlfcfvp")
public suspend fun legend(argument: suspend TemplateLegendOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLegendOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.legend = mapped
}
/**
* @param value The series axis configuration of a line chart.
*/
@JvmName("jobbplfqlyltdlkr")
public suspend fun primaryYAxisDisplayOptions(`value`: TemplateLineSeriesAxisDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryYAxisDisplayOptions = mapped
}
/**
* @param argument The series axis configuration of a line chart.
*/
@JvmName("pbsgapxwvkcnlayd")
public suspend fun primaryYAxisDisplayOptions(argument: suspend TemplateLineSeriesAxisDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLineSeriesAxisDisplayOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.primaryYAxisDisplayOptions = mapped
}
/**
* @param value The options that determine the presentation of the y-axis label.
*/
@JvmName("heaqvhgmvgtgqyek")
public suspend fun primaryYAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryYAxisLabelOptions = mapped
}
/**
* @param argument The options that determine the presentation of the y-axis label.
*/
@JvmName("dibujmtqhnypuxdn")
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 lines configuration of a line chart.
*/
@JvmName("uagftmktyljgupya")
public suspend fun referenceLines(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.referenceLines = mapped
}
/**
* @param argument The reference lines configuration of a line chart.
*/
@JvmName("nctaimxosasnntqg")
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 lines configuration of a line chart.
*/
@JvmName("jcbrhvafnouhlqtv")
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 lines configuration of a line chart.
*/
@JvmName("iivnakvretbmqchw")
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 lines configuration of a line chart.
*/
@JvmName("cfbqoctkmninojha")
public suspend fun referenceLines(vararg values: TemplateReferenceLineArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.referenceLines = mapped
}
/**
* @param value The series axis configuration of a line chart.
*/
@JvmName("hrrebohreowkfjyi")
public suspend fun secondaryYAxisDisplayOptions(`value`: TemplateLineSeriesAxisDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secondaryYAxisDisplayOptions = mapped
}
/**
* @param argument The series axis configuration of a line chart.
*/
@JvmName("veprmwqrrlrxlris")
public suspend fun secondaryYAxisDisplayOptions(argument: suspend TemplateLineSeriesAxisDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLineSeriesAxisDisplayOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.secondaryYAxisDisplayOptions = mapped
}
/**
* @param value The options that determine the presentation of the secondary y-axis label.
*/
@JvmName("dymourcgxigoioky")
public suspend fun secondaryYAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secondaryYAxisLabelOptions = mapped
}
/**
* @param argument The options that determine the presentation of the secondary y-axis label.
*/
@JvmName("qypipelgwgofveoc")
public suspend fun secondaryYAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.secondaryYAxisLabelOptions = mapped
}
/**
* @param value The series item configuration of a line chart.
*/
@JvmName("lsuocbncoujcrdsj")
public suspend fun series(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.series = mapped
}
/**
* @param argument The series item configuration of a line chart.
*/
@JvmName("uatgapknjynqogvi")
public suspend fun series(argument: List Unit>) {
val toBeMapped = argument.toList().map {
TemplateSeriesItemArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.series = mapped
}
/**
* @param argument The series item configuration of a line chart.
*/
@JvmName("vwctesgjcpnoovty")
public suspend fun series(vararg argument: suspend TemplateSeriesItemArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
TemplateSeriesItemArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.series = mapped
}
/**
* @param argument The series item configuration of a line chart.
*/
@JvmName("xluqfcnlmtdjgtfw")
public suspend fun series(argument: suspend TemplateSeriesItemArgsBuilder.() -> Unit) {
val toBeMapped = listOf(TemplateSeriesItemArgsBuilder().applySuspend { argument() }.build())
val mapped = of(toBeMapped)
this.series = mapped
}
/**
* @param values The series item configuration of a line chart.
*/
@JvmName("pcqrmroxdscrdxsa")
public suspend fun series(vararg values: TemplateSeriesItemArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.series = mapped
}
/**
* @param value The small multiples setup for the visual.
*/
@JvmName("lirpjrcgylfsiman")
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("wljwtkgxlsctxrhb")
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 line chart.
*/
@JvmName("imlvhdivlxaywfxf")
public suspend fun sortConfiguration(`value`: TemplateLineChartSortConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sortConfiguration = mapped
}
/**
* @param argument The sort configuration of a line chart.
*/
@JvmName("ekalhylqhjbutpmg")
public suspend fun sortConfiguration(argument: suspend TemplateLineChartSortConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLineChartSortConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.sortConfiguration = mapped
}
/**
* @param value The tooltip configuration of a line chart.
*/
@JvmName("avsqahypcvahmbxw")
public suspend fun tooltip(`value`: TemplateTooltipOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tooltip = mapped
}
/**
* @param argument The tooltip configuration of a line chart.
*/
@JvmName("bxhnjuynjdohinjl")
public suspend fun tooltip(argument: suspend TemplateTooltipOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.tooltip = mapped
}
/**
* @param value Determines the type of the line chart.
*/
@JvmName("andwqdguojsnbgvy")
public suspend fun type(`value`: TemplateLineChartType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The visual palette configuration of a line chart.
*/
@JvmName("jgjeugrdairuaakd")
public suspend fun visualPalette(`value`: TemplateVisualPaletteArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visualPalette = mapped
}
/**
* @param argument The visual palette configuration of a line chart.
*/
@JvmName("bdrjqhgphmbnaekt")
public suspend fun visualPalette(argument: suspend TemplateVisualPaletteArgsBuilder.() -> Unit) {
val toBeMapped = TemplateVisualPaletteArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.visualPalette = mapped
}
/**
* @param value The options that determine the presentation of the x-axis.
*/
@JvmName("seyuythhrovfttmr")
public suspend fun xAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.xAxisDisplayOptions = mapped
}
/**
* @param argument The options that determine the presentation of the x-axis.
*/
@JvmName("gqndofxhlixtoctl")
public suspend fun xAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.xAxisDisplayOptions = mapped
}
/**
* @param value The options that determine the presentation of the x-axis label.
*/
@JvmName("grbyqejeehcoikbs")
public suspend fun xAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.xAxisLabelOptions = mapped
}
/**
* @param argument The options that determine the presentation of the x-axis label.
*/
@JvmName("bbdkxgiowyhccigj")
public suspend fun xAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.xAxisLabelOptions = mapped
}
internal fun build(): TemplateLineChartConfigurationArgs = TemplateLineChartConfigurationArgs(
contributionAnalysisDefaults = contributionAnalysisDefaults,
dataLabels = dataLabels,
defaultSeriesSettings = defaultSeriesSettings,
fieldWells = fieldWells,
forecastConfigurations = forecastConfigurations,
legend = legend,
primaryYAxisDisplayOptions = primaryYAxisDisplayOptions,
primaryYAxisLabelOptions = primaryYAxisLabelOptions,
referenceLines = referenceLines,
secondaryYAxisDisplayOptions = secondaryYAxisDisplayOptions,
secondaryYAxisLabelOptions = secondaryYAxisLabelOptions,
series = series,
smallMultiplesOptions = smallMultiplesOptions,
sortConfiguration = sortConfiguration,
tooltip = tooltip,
type = type,
visualPalette = visualPalette,
xAxisDisplayOptions = xAxisDisplayOptions,
xAxisLabelOptions = xAxisLabelOptions,
)
}