Charts icon indicating copy to clipboard operation
Charts copied to clipboard

ChartFill

Open JorgenAndreasson opened this issue 2 years ago • 2 comments

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.

JorgenAndreasson avatar Sep 13 '22 11:09 JorgenAndreasson

Screenshot 2022-09-13 at 12 31 10

JorgenAndreasson avatar Sep 13 '22 11:09 JorgenAndreasson

You can use ChartColorFill instead of ChartFill. Fill Apis in the latest version had changed. [[ChartColorFill alloc] initWithColor:UIColor.redColor];

ToninZhao avatar Sep 14 '22 03:09 ToninZhao