Merge pull request #96 from ne8il/opacity-cha

Handle opacity change on line chart redraw
master
John Kiernander 2014-12-15 16:30:05 +00:00
commit 43de4cce54
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
.attr("cx", function (d) { return dimple._helpers.cx(d, chart, series); })
.attr("cy", function (d) { return dimple._helpers.cy(d, chart, series); })
.attr("r", 2 + series.lineWeight)
.attr("opacity", (series.lineMarkers || lineDataRow.data.length < 2 ? lineDataRow.color.opacity : 0))
.call(function () {
if (!chart.noFormats) {
this.attr("fill", "white")