Skip to content

Commit c4ce619

Browse files
authored
Upgrade Charts to latest 3.x version, 3.6.0 (#18520)
2 parents e102336 + 86867a3 commit c4ce619

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ abstract_target 'Apps' do
174174
## Third party libraries
175175
## =====================
176176
##
177-
pod 'Charts', '~> 3.2.2'
177+
pod 'Charts', '~> 3.6'
178178
pod 'Gifu', '3.2.0'
179179

180180
app_center_version = '~> 4.1'

Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ PODS:
2828
- boost (1.76.0)
2929
- BVLinearGradient (2.5.6-wp-2):
3030
- React-Core
31-
- Charts (3.2.2):
32-
- Charts/Core (= 3.2.2)
33-
- Charts/Core (3.2.2)
31+
- Charts (3.6.0):
32+
- Charts/Core (= 3.6.0)
33+
- Charts/Core (3.6.0)
3434
- CocoaLumberjack (3.7.4):
3535
- CocoaLumberjack/Core (= 3.7.4)
3636
- CocoaLumberjack/Core (3.7.4)
@@ -527,7 +527,7 @@ DEPENDENCIES:
527527
- Automattic-Tracks-iOS (~> 0.11.1)
528528
- boost (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/v1.75.0/third-party-podspecs/boost.podspec.json`)
529529
- BVLinearGradient (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/v1.75.0/third-party-podspecs/BVLinearGradient.podspec.json`)
530-
- Charts (~> 3.2.2)
530+
- Charts (~> 3.6)
531531
- CocoaLumberjack (~> 3.0)
532532
- CropViewController (= 2.5.3)
533533
- Down (~> 0.6.6)
@@ -779,7 +779,7 @@ SPEC CHECKSUMS:
779779
Automattic-Tracks-iOS: 5cd49d3acf76c26b92b4094d34ba84e6b55e5425
780780
boost: 32a63928ef0a5bf8b60f6b930c8864113fa28779
781781
BVLinearGradient: 9373b32b8f749c00fe59e3482b45091eeacec08b
782-
Charts: f69cf0518b6d1d62608ca504248f1bbe0b6ae77e
782+
Charts: b1e3a1f5a1c9ba5394438ca3b91bd8c9076310af
783783
CocoaLumberjack: 543c79c114dadc3b1aba95641d8738b06b05b646
784784
CropViewController: a5c143548a0fabcd6cc25f2d26e40460cfb8c78c
785785
DoubleConversion: e22e0762848812a87afd67ffda3998d9ef29170c
@@ -869,6 +869,6 @@ SPEC CHECKSUMS:
869869
ZendeskSupportSDK: 3a8e508ab1d9dd22dc038df6c694466414e037ba
870870
ZIPFoundation: ae5b4b813d216d3bf0a148773267fff14bd51d37
871871

872-
PODFILE CHECKSUM: 13184db128ca32c81524a8b7237063aed84a2deb
872+
PODFILE CHECKSUM: a9583cec2bc246d23cf0045230cd179dc03c5adb
873873

874874
COCOAPODS: 1.11.2

WordPress/Classes/ViewRelated/Stats/Charts/Charts+Support.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension BarChartData {
1212

1313
extension BarChartDataSet {
1414
convenience init(values: [BarChartDataEntry], label: String?, valueFormatter: IValueFormatter?) {
15-
self.init(values: values, label: label)
15+
self.init(entries: values, label: label)
1616
self.valueFormatter = valueFormatter
1717
}
1818
}

0 commit comments

Comments
 (0)