Skip to content

Commit

Permalink
only set shape-rendering for standard graph type (c3js#2691)
Browse files Browse the repository at this point in the history
  • Loading branch information
panthony authored and beninsocrata committed Oct 31, 2019
1 parent 55d125c commit f00ddca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shape.line.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ ChartInternal.prototype.updateCircle = function (cx, cy) {
.data($$.lineOrScatterOrStanfordData.bind($$));

var mainCircleEnter = mainCircle.enter().append("circle")
.attr('shape-rendering', 'crispEdges')
.attr('shape-rendering', $$.isStanfordGraphType() ? 'crispEdges' : '')
.attr("class", $$.classCircle.bind($$))
.attr("cx", cx)
.attr("cy", cy)
Expand Down

0 comments on commit f00ddca

Please sign in to comment.