ChartsOrg / ChartsOrg/Charts

Change to DGCharts, but PieViewData portion still seems to be conflating with Apple's Charts

Open
#5,127 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

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

## What did you do?

ℹ I changed my podfile from pod 'Charts' to pod 'DGCharts' as instructed (and import Charts changed to import DGCharts in the viewController).

## What did you expect to happen?

ℹ For app to work as usual making Pie Charts etc and incorporating into SimplePDF.

## What happened instead?

ℹ App got stuck when I clicked to go to that screen, and Xcode showed 'Could not cast value of type 'DGCharts.PieChartData' (0x102cbe210) to 'Charts.PieChartData' (0x1013d0338). llvm'

## DGCharts Environment

**DGCharts version/Branch/Commit Number: 5.0.0/Master/e516b04**
**Xcode version: 15.0.1**
**Swift version: 4**
**Platform(s) running DGCharts: iOS iPhone 14 Max**
**macOS version running Xcode: Sonoma 14.1.1**

## Demo Project

ℹ https://github.com/caldwbr/Bizzy-Books-iOS/tree/master.

Contributor guide

Open the contributing guide

Research direction

Start with the linked Bizzy-Books-iOS demo project, its Podfile, and the viewController that opens the pie-chart screen. Reproduce the navigation crash under DGCharts 5.0.0 and trace the PieChartData cast; done means the screen opens and the pie charts work without a Charts/DGCharts type-cast failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.