PMSI-AlignAlytics/dimple — pull request #96 by ne8il (2014-08-12 16:29:31+00:00)
Title: Handle opacity change on line chart redraw

The check in dimple._drawMarkers to set the opacity of markers (based on the number of data points on the chart) is only computed on the enter join. If the number of data points changes after that and the chart is redrawn, the original opacity is kept even if it changes from only one data point (where markers should always be visible) to many or from many to one. This change runs the same computation on the update join of the markers.

jsbin : http://jsbin.com/ticede/1/edit?js,output