commonMain.jetbrains.datalore.plot.builder.theme.DefaultAxisTheme.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) 2020. 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.theme
import jetbrains.datalore.plot.builder.presentation.Defaults.Plot
open class DefaultAxisTheme : AxisTheme {
override fun showLine(): Boolean {
return true
}
override fun showTickMarks(): Boolean {
return true
}
override fun showTickLabels(): Boolean {
return true
}
override fun showTitle(): Boolean {
return true
}
override fun showTooltip(): Boolean {
return true
}
override fun lineWidth(): Double {
return Plot.Axis.LINE_WIDTH
}
override fun tickMarkWidth(): Double {
return Plot.Axis.TICK_LINE_WIDTH
}
override fun tickMarkLength(): Double {
return 6.0
}
override fun tickMarkPadding(): Double {
return 3.0
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy