commonMain.jetbrains.datalore.plot.builder.FrameOfReferenceProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plot-builder-portable-js Show documentation
Show all versions of plot-builder-portable-js Show documentation
The Let-Plot Kotlin API depends on this artifact.
The newest version!
/*
* Copyright (c) 2021. 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.builder.coord.CoordProvider
import jetbrains.datalore.plot.builder.layout.TileLayoutInfo
import jetbrains.datalore.plot.builder.layout.TileLayoutProvider
interface FrameOfReferenceProvider {
val hAxisLabel: String?
val vAxisLabel: String?
val flipAxis: Boolean
fun createTileLayoutProvider(): TileLayoutProvider
fun createTileFrame(
layoutInfo: TileLayoutInfo,
coordProvider: CoordProvider,
debugDrawing: Boolean = false
): FrameOfReference
fun createMarginalFrames(
tileLayoutInfo: TileLayoutInfo,
coordProvider: CoordProvider,
debugDrawing: Boolean
): Map
}