palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.97k stars 224 forks source link

Render canvas line plot with multiple styles #3468

Closed waltonseymour closed 1 year ago

waltonseymour commented 6 years ago

Enables the ability for canvas lineDrawer to utilize different styles in the same plot. This is especially useful for changing opacity/stroke for segments along a plot. When drawing between two points that produce different styles, it chooses the first style arbitrarily.

themadcreator commented 6 years ago

Hey thanks for this contribution. I'm still reviewing the performance implications of the new iteration in the line renderer. At high scale, this can have a significant impact on perf. Thanks for your patience