Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Commit ccf5d90a authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

fixes #10

parent 9b94ff35
.ac-bar-title {
fill: #797979;
}
.ac-bar-group rect {
/*stroke-width: 1;*/
/*stroke: #d6d6d6;*/
......@@ -5,6 +9,10 @@
cursor: pointer;
}
.ac-bar-group text {
color: #797979;
}
.ac-bar-group rect:hover {
}
......@@ -15,6 +23,7 @@
.ac-bar-legend-element text {
font-size: 0.8em;
fill: #797979;
}
.ac-bar-axis path {
......@@ -25,6 +34,7 @@
.ac-bar-axis {
font-size: 1em;
color: #797979;
}
.ac-bar-left-axis path {
......
......@@ -36,11 +36,11 @@ export default class extends Chart {
}
render({
title,
categories,
series,
barClickCallback,
}) {
title,
categories,
series,
barClickCallback,
}) {
const groups = series.map(d => d.name);
const data = [];
series.forEach((d) => {
......@@ -48,7 +48,6 @@ export default class extends Chart {
e.category = e.name;
e.group = d.name;
delete e.name;
delete e.key;
data.push(e);
});
});
......@@ -187,15 +186,6 @@ export default class extends Chart {
});
barGroup.exit()
.call((parent) => {
parent.select('rect')
.remove();
parent.select('text')
.remove();
})
.transition()
.delay(500)
.remove();
const legendElementSize = height / 30;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment