commonMain.jetbrains.datalore.plot.builder.GeomLayer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lets-plot-common Show documentation
Show all versions of lets-plot-common Show documentation
Lets-Plot JVM package without rendering part
/*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.builder
import jetbrains.datalore.plot.base.*
import jetbrains.datalore.plot.base.aes.AestheticsDefaults
import jetbrains.datalore.plot.base.geom.LiveMapProvider
import jetbrains.datalore.plot.base.interact.ContextualMapping
import jetbrains.datalore.plot.base.interact.GeomTargetLocator.LookupSpec
import jetbrains.datalore.plot.base.interact.MappedDataAccess
import jetbrains.datalore.plot.base.render.LegendKeyElementFactory
import jetbrains.datalore.plot.builder.assemble.TypedScaleMap
interface GeomLayer {
val dataFrame: DataFrame
val group: (Int) -> Int
val geomKind: GeomKind
val geom: Geom
val scaleMap: TypedScaleMap
val dataAccess: MappedDataAccess
val legendKeyElementFactory: LegendKeyElementFactory
val aestheticsDefaults: AestheticsDefaults
val isLiveMap: Boolean
val isLegendDisabled: Boolean
val locatorLookupSpec: LookupSpec
val contextualMapping: ContextualMapping
fun renderedAes(): List>
fun createPos(ctx: PosProviderContext): PositionAdjustment
fun hasBinding(aes: Aes<*>): Boolean
fun getBinding(aes: Aes): VarBinding
fun hasConstant(aes: Aes<*>): Boolean
fun getConstant(aes: Aes): T
fun getDefault(aes: Aes): T
fun rangeIncludesZero(aes: Aes<*>): Boolean
fun setLiveMapProvider(liveMapProvider: LiveMapProvider)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy