Skip to content

Commit

Permalink
Fix #399 Tooltip on axis: increase the font size
Browse files Browse the repository at this point in the history
  • Loading branch information
IKupriyanov-HORIS committed Jun 30, 2021
1 parent 9eb5d3f commit ef238ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object Defaults {
val DARK_TEXT_COLOR = Color.BLACK
val LIGHT_TEXT_COLOR = Color.WHITE

const val AXIS_TOOLTIP_FONT_SIZE = Axis.TICK_FONT_SIZE
const val AXIS_TOOLTIP_FONT_SIZE = DATA_TOOLTIP_FONT_SIZE
val AXIS_TOOLTIP_COLOR = Axis.LINE_COLOR
const val AXIS_RADIUS = 1.5 // fix a tooltip border overlapping an axis
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ val SINGLE_PLOT_STYLE_ELEMENT = """
| font-size: 12px;
|}
|.plt-axis-tooltip text {
| font-size: 10px;
| font-size: 12px;
|}
|.plt-axis line {
| shape-rendering: crispedges;
Expand Down Expand Up @@ -325,7 +325,7 @@ val EXPECTED_BUNCH_SVG = """
| font-size: 12px;
|}
|.plt-axis-tooltip text {
| font-size: 10px;
| font-size: 12px;
|}
|.plt-axis line {
| shape-rendering: crispedges;
Expand Down

0 comments on commit ef238ed

Please sign in to comment.