How to set different colour to Y-Axis labels ?
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
```
//Y-Left
let yLeftAxis = combinedChartView.leftAxis
yLeftAxis.granularity = 1.0
** yLeftAxis.labelTextColor = .white **
yLeftAxis.labelFont = UIFont.systemFont(ofSize: 8.0,weight: .medium)
yLeftAxis.drawAxisLineEnabled = false
let yValueFormatter = EmotionGraphViewYAxisFomater()
yLeftAxis.valueFormatter = `yValueFormatter`
```
So in above code I want to set multi color to yLeftAxis.labelTextColor like [.red,.yellow, .blue etc....]
Contributor guide
Research direction
Start at the axis API used through combinedChartView.leftAxis, especially labelTextColor, and trace how Y-axis labels are rendered. Check whether the current API or related tests mention per-label colors; done means the issue’s requested red, yellow, and blue label coloring is supported or the limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100