lets-plot-compose/src/androidMain/kotlin/org/jetbrains/letsPlot/compose/PlotPanelRaw.kt [6:39]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - package org.jetbrains.letsPlot.compose import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.text.BasicText import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.text.TextStyle private const val devRendering = false @Composable actual fun PlotPanelRaw( rawSpec: MutableMap, preserveAspectRatio: Boolean, modifier: Modifier, errorTextStyle: TextStyle, errorModifier: Modifier, legacyRendering: Boolean, computationMessagesHandler: (List) -> Unit ) { Row(modifier = modifier) { @Suppress("SimplifyBooleanWithConstants", "KotlinConstantConditions") if (!devRendering && !legacyRendering) { PlotPanelComposeCanvas( rawSpec = rawSpec, preserveAspectRatio = preserveAspectRatio, modifier = modifier, errorTextStyle = errorTextStyle, errorModifier = errorModifier, computationMessagesHandler = computationMessagesHandler ) } else if (!devRendering && legacyRendering) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/compose/PlotPanelRaw.kt [6:38]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - package org.jetbrains.letsPlot.compose import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.text.TextStyle private const val devRendering = false @Composable actual fun PlotPanelRaw( rawSpec: MutableMap, preserveAspectRatio: Boolean, modifier: Modifier, errorTextStyle: TextStyle, errorModifier: Modifier, legacyRendering: Boolean, computationMessagesHandler: (List) -> Unit ) { Row(modifier = modifier) { @Suppress("SimplifyBooleanWithConstants", "KotlinConstantConditions") if (!devRendering && !legacyRendering) { PlotPanelComposeCanvas( rawSpec = rawSpec, preserveAspectRatio = preserveAspectRatio, modifier = modifier, errorTextStyle = errorTextStyle, errorModifier = errorModifier, computationMessagesHandler = computationMessagesHandler ) } else if (!devRendering && legacyRendering) { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -