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
When we set cornerRadius to a non-zero value, CornerPathEffect is applied which works great until you apply a fill to the graph which results in:
I think rather than closing the path, if a fill is applied, on line 274 we should manually enclose the path first by hitting the bottom right corner of the view, then bottom left, and finally back to the starting position. I'm also wondering if we could make this paticuliar closing path "invisible" rather than showing the sparkline path closing the graph.
The text was updated successfully, but these errors were encountered:
Interestingly, we're already manually enclosing the path by going to the bottom right then bottom left. The close() call only closes from the bottom left back to the first point in the spark. I don't have any immediate ideas on how to fix this, but mostly because I think the solution will be different for different applications.
When we set cornerRadius to a non-zero value,
CornerPathEffect
is applied which works great until you apply a fill to the graph which results in:I think rather than closing the path, if a fill is applied, on line 274 we should manually enclose the path first by hitting the bottom right corner of the view, then bottom left, and finally back to the starting position. I'm also wondering if we could make this paticuliar closing path "invisible" rather than showing the sparkline path closing the graph.
The text was updated successfully, but these errors were encountered: