ChartsOrg / ChartsOrg/Charts

How to show multiple icons above same bar in barChartView

Open
#5,040 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Plotted bar chart with sample data and showed icon on a specific point.

When I plotted two icons on the same point icon got overlapped as shown in the picture below
![IMG_359CF671AD4A-1](https://user-images.githubusercontent.com/46920378/230613024-cb725044-91fc-4b66-8252-15a8a00b6ec6.jpeg)

But I want icons to be stacked one by one on top of the bar.
example:
![IMG_359CF671AD4A-1](https://user-images.githubusercontent.com/46920378/230613385-83bd9044-7a00-4962-8a26-a4ebba18b8cb.png)

Contributor guide

Open the contributing guide

Research direction

Start at the barChartView icon-rendering entry point and reproduce the reported case with two icons at the same data point. Determine how overlapping icons are positioned, then verify that multiple icons appear stacked above the bar without disturbing other chart elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.