updating class name to better match element

This commit is contained in:
ppisljar 2016-12-01 07:56:11 +01:00
parent 9d79d79501
commit 628408de02
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ export default function AreaChartFactory(Private) {
// Data layers
const layer = svg.append('g')
.attr('class', function (d, i) {
return 'pathgroup ' + i;
return 'series series-' + i;
});
// Append path

View file

@ -106,7 +106,7 @@ export default function LineChartFactory(Private) {
.attr('cx', isHorizontal ? cx : cy)
.attr('cy', isHorizontal ? cy : cx)
.attr('class', 'circle-decoration')
.attr('data-label', data.label)
.attr('data-label', data.label)
.attr('fill', colorCircle);
circles