You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comments state: If options is falsy, it disables data point rendering.
This is not happening; drawDots() will always render the data points as long as brushing is not enabled. Here is my proposed solution - A minor change to the beginning of drawDots seems to fix the problem:
function drawDots(chartBody, layers) {
if (!_chart.brushOn() && _dataPointRadius) {
instead of
function drawDots(chartBody, layers) {
if (!_chart.brushOn()) {
...
The text was updated successfully, but these errors were encountered:
This results in invisible dots that are made visible on hover events. Changing the drawDots conditional to !_chart.brushOn() && _dataPointRadius breaks the dot rendering on those hover events. #renderDataPoints() is only intended to control whether or not the data points appear at all times.
I do agree that the current implementation is confusing, and we would certainly consider accepting a pull request to clear this up :)
The comments state:
If
options
is falsy, it disables data point rendering.This is not happening; drawDots() will always render the data points as long as brushing is not enabled. Here is my proposed solution - A minor change to the beginning of drawDots seems to fix the problem:
instead of
...
The text was updated successfully, but these errors were encountered: