Menu / packages / charts
chartsas of 5.1.0 · dd9c72e3
https://github.com/danielgindi/charts
What it serves, where
| Capability | iOS | macOS | watchOS | tvOS | visionOS | Linux | Catalyst |
| Charts |
✓
serves it · confidence 0.90 · as of 5.1.0
LineChartView Source/Charts/Charts/LineChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no iOS gap in surface digest.BarChartView Source/Charts/Charts/BarChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no iOS gap in surface digest.PieChartView Source/Charts/Charts/PieChartView.swift:20 View the line on GitHub → Unconditional public chart view class; no iOS gap in surface digest.
|
✓
serves it · confidence 0.90 · as of 5.1.0
LineChartView Source/Charts/Charts/LineChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no macOS gap in surface digest.BarChartView Source/Charts/Charts/BarChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no macOS gap in surface digest.PieChartView Source/Charts/Charts/PieChartView.swift:20 View the line on GitHub → Unconditional public chart view class; no macOS gap in surface digest.
|
✕
not served here · confidence 0.60 · as of 5.1.0
NSUIView
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:35 View the line on GitHub → Core NSUIView shim (base class of every chart view) exists only under os(iOS) || os(tvOS); surface digest marks watchOS absent.NSUIView
#if os(OSX) Source/Charts/Utils/Platform.swift:190 View the line on GitHub → The only other NSUIView branch is os(OSX); also absent on watchOS. No watchOS branch exists anywhere in Source, and the manifest declares no watchOS floor.NSUIFont
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:13 View the line on GitHub → Font shim required for all chart text rendering; absent on watchOS.
|
✓
serves it · confidence 0.90 · as of 5.1.0
LineChartView Source/Charts/Charts/LineChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no tvOS gap in surface digest.BarChartView Source/Charts/Charts/BarChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no tvOS gap in surface digest.PieChartView Source/Charts/Charts/PieChartView.swift:20 View the line on GitHub → Unconditional public chart view class; no tvOS gap in surface digest.
|
✕
not served here · confidence 0.60 · as of 5.1.0
NSUIView
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:35 View the line on GitHub → Core NSUIView shim (base class of every chart view) exists only under os(iOS) || os(tvOS); surface digest marks visionOS absent.NSUIView
#if os(OSX) Source/Charts/Utils/Platform.swift:190 View the line on GitHub → The only other NSUIView branch is os(OSX); also absent on visionOS. No os(visionOS)/xrOS condition exists anywhere in Source at 5.1.0, so a native visionOS build cannot resolve the view layer. iOS builds may still run in 'Designed for iPad' compatibility mode.NSUIFont
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:13 View the line on GitHub → Font shim required for all chart text rendering; absent on visionOS.
|
✕
not served here · confidence 0.60 · as of 5.1.0
NSUIView
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:35 View the line on GitHub → Core NSUIView shim (base class of every chart view) exists only under os(iOS) || os(tvOS); surface digest marks linux absent.NSUIView
#if os(OSX) Source/Charts/Utils/Platform.swift:190 View the line on GitHub → The only other NSUIView branch is os(OSX); also absent on linux. No Linux-capable branch of the view/rendering layer exists.NSUIFont
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:13 View the line on GitHub → Font shim required for all chart text rendering; absent on linux.
|
✓
serves it · confidence 0.75 · as of 5.1.0
LineChartView Source/Charts/Charts/LineChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no macCatalyst gap in surface digest.BarChartView Source/Charts/Charts/BarChartView.swift:16 View the line on GitHub → Unconditional public chart view class; no macCatalyst gap in surface digest.NSUIView
#if os(iOS) || os(tvOS) Source/Charts/Utils/Platform.swift:35 View the line on GitHub → Core view shim resolves PRESENT on macCatalyst (os(iOS) holds on Catalyst); AppKit branches elsewhere explicitly exclude Catalyst via !targetEnvironment(macCatalyst), routing it to the UIKit path. No explicit manifest floor, hence reduced confidence.
|
✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it
Notes
Charts: DGCharts (renamed from Charts in 5.0) is a full charting library: line, bar, pie, radar, scatter, candle-stick, bubble, combined, horizontal bar chart views all present unconditionally in the Swift surface. Verdicts derived from the truncated surface digest (800 of 1876 decls) plus Package.swift; the 61 unparsed ObjC files belong to the demo apps, not the SwiftPM target (Source/Charts), so the library surface is believed covered. Extractor quirk observed: decls gated os(OSX) are marked absent on ALL platforms including macOS (OSX apparently not mapped to macOS); macOS support is therefore anchored on unconditional decls plus the manifest floor. unsupported verdicts for visionOS/watchOS/linux rest on the NSUI shim layer (Platform.swift) existing only under os(iOS) || os(tvOS) and os(OSX) branches, confirmed by grep over the checkout showing zero os(visionOS)/watchOS/Linux branches at 5.1.0.