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
d7036baa
Commit
d7036baa
authored
Jan 30, 2019
by
Sascha Herzinger
Browse files
improved color
parent
ac4d1160
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/assets/css/scatterplot.css
View file @
d7036baa
...
...
@@ -36,7 +36,7 @@
white-space
:
nowrap
;
font-size
:
0.75em
;
position
:
absolute
;
background
:
rgb
a
(
0
,
0
,
0
,
0.7
);
background
:
rgb
(
43
,
183
,
179
);
pointer-events
:
none
;
color
:
white
;
padding
:
0.5vh
;
...
...
@@ -46,3 +46,7 @@
.ac-scatter-legend-element
{
font-size
:
0.75em
;
}
.ac-scatter-brush
.selection
{
fill
:
rgb
(
43
,
183
,
179
);
}
src/charts/impl/Scatterplot.js
View file @
d7036baa
...
...
@@ -232,7 +232,7 @@ ${typeof this.categories.name === 'undefined' ? d[2] : this.categories[d[2]]}</b
.
attr
(
'
width
'
,
legendElementWidth
+
legendTextMaxWidth
)
.
attr
(
'
height
'
,
(
Object
.
keys
(
this
.
categories
).
length
)
*
legendElementHeight
+
legendPadding
)
.
attr
(
'
fill
'
,
'
#fff
'
)
.
style
(
'
opacity
'
,
'
0.
8
'
);
.
style
(
'
opacity
'
,
'
0.
7
'
);
const
legendElement
=
this
.
legend
.
selectAll
(
'
.ac-scatter-legend-element
'
)
.
data
(
Object
.
keys
(
this
.
categories
).
filter
(
d
=>
d
!==
'
name
'
));
...
...
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