-
Notifications
You must be signed in to change notification settings - Fork 645
Description
Is your feature request related to a problem? Please describe.
Currently, a LineSeries can have separate colors for Stroke (line) and GeometryStroke / GeometryFill (markers). For example, I can display a series with red lines and blue markers, and another series with yellow lines and blue markers.
However, in the legend for these series, only one element (either the marker or the line) is displayed before the legend name. This makes it impossible to distinguish the two series in the legend if they share the same marker color but have different line colors.
Describe the solution you'd like
When a LineSeries has both a visible Stroke and a visible GeometryStroke / GeometryFill, I would like the legend to display both:
- A short line segment in the Stroke color
- A marker in the GeometryStroke / GeometryFill color
These should be displayed together before the legend name to represent both aspects of the series.
Describe alternatives you've considered
I could manually create a custom legend, but that requires additional maintenance and breaks consistency with the built-in legend rendering.
Additional context
This would help distinguish series where markers are the same color but lines differ, and vice versa, improving clarity for complex charts.