ChartsOrg / ChartsOrg/Charts

ChartFill

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

Description

A fellow programmer o mine has been using Chart since Objective-C days.
I had to update Chart to 4.1.0 due to Xcode 14.

However, there is a line of code
mfaSet.fill = [ChartFill fillWithColor:UIColor.redColor];
which is failing.

Was there a ChartFill previously?

## Charts Environment

**Charts version/Branch/Commit Number:4.1.0**
**Xcode version: 14.0**
**Swift version: 5.7**
**Platform(s) running Charts: iPad**
**macOS version running Xcode:12.5.1**

## Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Charts 4.1.0 API declarations for the mfaSet.fill assignment and ChartFill, using the failing line as the entry point. Confirm whether ChartFill is still available or what the current fill API requires, then verify the original assignment can be represented with the supported 4.1.0 interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.