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
I am attempting to apply a gradient color scale to a line in a ggplot object. When I create the plotly chart, the plotted line is not visible. Hovering over the plot area shows the values of the variables if the cursor is where the line is located, even though the line is not visible.
If I do not apply a color aesthetic, the line is visible.
I have download the most recent plotly package from Github.
As mentioned in plotly/plotly.js#3205 (comment) plotly.js plans on implementing color/width arrays in scattergl, so we should leverage that when the time comes.
It might make sense to have a general routine that switches scatter to scattergl (with a message/warning?) if line.color or line.width is an array
I am attempting to apply a gradient color scale to a line in a ggplot object. When I create the plotly chart, the plotted line is not visible. Hovering over the plot area shows the values of the variables if the cursor is where the line is located, even though the line is not visible.
If I do not apply a color aesthetic, the line is visible.
I have download the most recent plotly package from Github.
Here is some example code of the issue:
ggplot:

The text was updated successfully, but these errors were encountered: