ChartsOrg / ChartsOrg/Charts

How to customise the ChartLimitLine label position to the top centre on X-axis

Open
#4,970 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

I would like to set the ChartLimitLine label position to the top centre to the line on X-axis. Please refer the screenshot. Red text is the expected instead of green text

CenterTop

* [x] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).

## Charts Environment

**Charts version/Branch/Commit Number:*3.6.0*
**Xcode version:*13.4.1*
**Swift version:*Swift5*
**Platform(s) running Charts:*iOS*
**macOS version running Xcode:*12.5*

Contributor guide

Open the contributing guide

Research direction

The issue names no file or test; start by tracing ChartLimitLine label-position handling in the Swift iOS chart code. Reproduce the X-axis example from the screenshot, then verify the label renders at the top centre without changing other positions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.