How to add multiple markers for each line in a MultiLine ChartView.
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I am new to Charts library. I know it's a pretty famous and smart library.
We wanted to add a custom marker for each line presented in the Mutiline ChartView. is this possible? I know changing the marker for a single line is available. Can we also set individual markers for each line in a Multiline chart view?
Here is the design we wanted to achieve using charts. is this feasible with Charts?

Also we want to interact with the markers. do we have any delegation/call back mechanism for handling our logic.
Could some one please let us know how we can make use of Charts for implementing this? Any code snippets for achieving multiple markers in a ChartLineView would be great.
I am guessing that we can use Scatter chat but how can we add lines to the dots in scatter chat? which is the best option to achieve the above design using Charts?
Contributor guide
Research direction
Start by reviewing the existing single-line marker customization in Charts and the marker delegation or callback mechanisms mentioned in the issue. Compare that behavior with MultiLine ChartView and Scatter Chart, including whether scatter points can retain connecting lines. Done means documenting or demonstrating a supported approach for per-line markers and marker interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100