Highlight vertexes when no points

When series.points.show is false, currently a ring appears on highlight
around where the point would have been.  Instead, display the point on
highlight.
pull/1/head
Trask Stalnaker 13 years ago
parent 4318eeaed0
commit a17be4c57e

@ -3278,10 +3278,17 @@ Licensed under the MIT license.
return;
}
var pointRadius = series.points.radius + series.points.lineWidth / 2;
var pointRadius;
var radius;
if (series.points.show) {
pointRadius = series.points.radius + series.points.lineWidth / 2;
radius = 1.5 * pointRadius;
} else {
pointRadius = series.points.radius;
radius = 0.5 * pointRadius;
}
octx.lineWidth = pointRadius;
octx.strokeStyle = highlightColor;
var radius = 1.5 * pointRadius;
x = axisx.p2c(x);
y = axisy.p2c(y);

Loading…
Cancel
Save