Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sascha Herzinger
AdaCharts
Commits
4f1bf7ce
Commit
4f1bf7ce
authored
Dec 10, 2018
by
Sascha Herzinger
Browse files
increased padding for col labels
parent
9725b6d4
Pipeline
#7790
failed with stages
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/charts/impl/Heatmap.js
View file @
4f1bf7ce
...
...
@@ -197,7 +197,7 @@ export default class extends Chart {
this
.
update
({});
})
.
merge
(
colLabels
)
.
style
(
'
font-size
'
,
`
${
this
.
xScale
.
bandwidth
()
>
20
?
20
:
this
.
xScale
.
bandwidth
()}
px`
)
.
style
(
'
font-size
'
,
`
${
(
this
.
xScale
.
bandwidth
()
>
20
?
20
:
this
.
xScale
.
bandwidth
()
)
-
1
}
px`
)
.
each
((
_
,
i
,
arr
)
=>
wrap
(
arr
[
i
],
this
.
margin
.
top
));
colLabels
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment