Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Danielgindi master #5

Merged
merged 100 commits into from
Nov 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
3aa542a
Avoid passing NaN to CoreGraphics API (Fixes #1626)
chiahan1123 Jun 29, 2017
767d03d
Added delegate callback to detect when panning is finished, to potent…
AntonTheDev Aug 26, 2018
c3d3ed7
Changed the part of the code where the delegate gets called
AntonTheDev Aug 26, 2018
3d40b00
Make NSUIAccessibilityElement initializer public.
417-72KI Sep 19, 2018
08820aa
Add Parameters Section
kemchenj Sep 22, 2018
576d7af
Remove parameter prefix
kemchenj Sep 22, 2018
849acbe
Remove property’s `returns` section
kemchenj Sep 22, 2018
bad3eef
Add missing `-`
kemchenj Sep 22, 2018
f3fa752
Sort sections
kemchenj Sep 22, 2018
0edceea
Uppercased the section title
kemchenj Sep 22, 2018
c68ed07
fix function groupBars document error
kemchenj Sep 22, 2018
033bb11
Remove duplicated section
kemchenj Sep 22, 2018
33e8eb1
Update ChartViewBase.swift
AntonTheDev Oct 10, 2018
a4cae71
Add missing empty line between Summary and other section manually
kemchenj Oct 21, 2018
3b07904
Merge pull request #3654 from 417-72KI/accesibility_element_initializer
pmairoldi Oct 21, 2018
d59b2d8
fix wrong assignment to axisMaxLabels property
ggirotto Oct 28, 2018
a435669
Remove meaningless comment
kemchenj Oct 28, 2018
69e433a
Merge pull request #3721 from ggirotto/axis-base-bugfix
liuxuan30 Nov 1, 2018
c01a765
improvements in barRect height calculation (#3650)
potato04 Nov 1, 2018
076f260
Add missing properties to copy(with:) methods (#3715)
dstranz Nov 4, 2018
ce0d809
Merge pull request #3621 from kemchenj/master
liuxuan30 Nov 7, 2018
ee7a218
Fix legend offset bug for horizontal bar chart (Fixes #3301)
SvenMuc Nov 7, 2018
44ba57d
Fix applying lineCap value for line chart data sets (Fixes #3739)
Nov 9, 2018
271606e
Merge pull request #3736 from SvenMuc/fix_horbarchart_legend_offset
liuxuan30 Nov 15, 2018
9971afc
Merge pull request #3740 from anton-filimonov/bugfixes/lineChart_line…
liuxuan30 Nov 15, 2018
9f2c130
Update README.md (#3737)
justinlew Nov 15, 2018
2927f76
fix #3719
liuxuan30 Dec 11, 2018
2e2301d
Merge pull request #3778 from liuxuan30/3719
liuxuan30 Dec 11, 2018
0749a2e
add call chartScaled() after double tap (#3770)
artemiusmk Dec 11, 2018
7d2e2db
Remove delegate method call for translation when no translation reall…
Nov 13, 2018
0d99003
Removed use of `values` where appropriate
jjatie Jan 13, 2019
bd3d1eb
Merge pull request #3804 from anton-filimonov/bugfixes/scrolling_fixes
liuxuan30 Jan 14, 2019
290fd88
Fixed `addEntry` implementation
jjatie Jan 22, 2019
f2795b9
Merge pull request #3612 from AntonTheDev/master
liuxuan30 Jan 22, 2019
5e8c9b1
Deprecated direct usage of values
jjatie Jan 26, 2019
2a1ecb4
BarLineScatterCandleBubbleRenderer.XBounds conformance to RangeExpres…
jjatie Jan 26, 2019
8d38438
Merge pull request #3815 from danielgindi/dataset-collection-conformance
liuxuan30 Jan 28, 2019
d73b552
Draws the line chart the same way regardless of the number of colors …
stokatyan Feb 10, 2019
2fedfc6
Multiple colors for valueline (Fixes #3480) (#3709)
Feb 12, 2019
deae185
bump version to 3.2.2
liuxuan30 Feb 13, 2019
cf36285
update change log
liuxuan30 Feb 13, 2019
9b99d1b
Renamed `values` to `entries` to reflect the property's type
jjatie Feb 16, 2019
636f623
Fixed tests
jjatie Feb 17, 2019
af7a4a0
Create "chartViewDidEndAnimate" callback function in "ChartViewBase" …
Lcsmarcal Feb 20, 2019
a323ad0
Update protocol function description
Lcsmarcal Feb 20, 2019
d096474
Improve HorizontalBarChart offset calculation for negative value labe…
charliestg Feb 20, 2019
d59fe25
Replace AnyObject with Any
jjatie Feb 24, 2019
46a3018
Fixed target on NSUIDisplayLink
jjatie Feb 25, 2019
ad26e63
Merge pull request #3847 from danielgindi/dataset-values-accessors
liuxuan30 Feb 27, 2019
8e2b8c8
Removed unnecessary #if statements and unified style to align with Xc…
jjatie Mar 5, 2019
fe66742
Merge pull request #3864 from danielgindi/fix-objc-imports-anyobject
liuxuan30 Mar 6, 2019
10057bf
Velocity samples calculation (#3883)
jjatie Mar 6, 2019
4f5cbf7
Merge branch 'master' into cleanup-pound-if
jjatie Mar 6, 2019
b4e300a
Merge pull request #3884 from danielgindi/cleanup-pound-if
liuxuan30 Mar 7, 2019
a969c46
A fix for https://github.com/danielgindi/Charts/issues/3848. Use a st…
phughes Mar 9, 2019
53f7c3a
Migrating to built-in algorithms (#3892)
jjatie Mar 9, 2019
34dafbc
Align `ChartLimit.LabelPosition` naming with `UIRectCorner` (#3846)
jjatie Mar 9, 2019
e1f28b0
add animator reference to animatorDidStop ChartViewBase delegate call…
Mar 19, 2019
b1df472
Merge pull request #3852 from Lcsmarcal/didFinishAnimate
liuxuan30 Mar 20, 2019
5d0b99a
Merge pull request #3854 from chaaarly/master
liuxuan30 Mar 20, 2019
b155c2f
Minor updates for Swift 5 (#3874)
jjatie Apr 11, 2019
6fb075f
fix #3860. maxHeight didn't count the last label
liuxuan30 Mar 15, 2019
2896791
Reassess convenience initializers (#3862)
jjatie Apr 12, 2019
13623d0
Merge pull request #3900 from danielgindi/3860
liuxuan30 Apr 12, 2019
c6b4c67
Fix horizontal bar chart not drawing values and add unit tests (#3906)
liuxuan30 Apr 15, 2019
1b08577
Data as any (#3863)
jjatie Apr 15, 2019
2bde78f
bump version to 3.3
liuxuan30 Apr 15, 2019
a1f52c9
update change log
liuxuan30 Apr 15, 2019
4fef53c
update gemfile
liuxuan30 Apr 15, 2019
cd1120b
correct 3.3 to 3.3.0.
liuxuan30 Apr 24, 2019
899fe1d
For #3917. make init(label: String?) convenient initializer (#3973)
liuxuan30 Apr 30, 2019
5b59440
fix #3975.
liuxuan30 May 13, 2019
03616c9
Added a safety check before an unsafe array operation
UberNick May 22, 2019
e6b01f7
Update Info.plist
liuxuan30 Jun 5, 2019
e850593
Merge pull request #4006 from UberNick/master
liuxuan30 Jun 10, 2019
acb436a
Update License
jobinsjohn Jul 2, 2019
2d80b44
Merge pull request #4055 from jobinsjohn/patch-1
liuxuan30 Jul 12, 2019
8c28cfa
fixed stacked chart bug when there are different stacks on columns. (…
Scalman Jul 29, 2019
952b5c0
fix #4093, also close #3960
liuxuan30 Aug 7, 2019
8a98ee2
Merge pull request #2568 from chiahan1123/master
liuxuan30 Aug 7, 2019
dd1bb78
Merge pull request #3996 from danielgindi/3975
liuxuan30 Aug 9, 2019
e93bfb9
Merge pull request #4094 from danielgindi/4093
liuxuan30 Sep 9, 2019
bf5db2f
Fix Swift Package Manager compile issue
rynecheow Jun 7, 2019
1086579
Unspecify library type
rynecheow Sep 17, 2019
7d1296d
Fix gitignore to ignore .swiftpm as a directory
rynecheow Sep 17, 2019
593630e
Merge pull request #4017 from rynecheow/hotfix/spm-compile-error
liuxuan30 Sep 20, 2019
164a664
Apply Xcode11 changes
liuxuan30 Sep 23, 2019
2752c6c
bump to iPhone 8 as iPhone 7 has been dropped out
liuxuan30 Sep 23, 2019
47b6124
bump to test framework to 6.1
liuxuan30 Sep 23, 2019
c4ab473
chart types that are not affected by formatter change
liuxuan30 Sep 25, 2019
feb4da6
tests affected by formatter change of `minimumIntegerDigits` from 0 to 1
liuxuan30 Sep 25, 2019
1c4a490
regenerate bar chart tests
liuxuan30 Sep 25, 2019
7589b09
rebuild tvOS test images
liuxuan30 Sep 25, 2019
90e8cd0
Merge pull request #4153 from liuxuan30/Xcode11
liuxuan30 Sep 25, 2019
9429f5c
Fixes #4099: Line renderer did not render lines if their coordinates …
4np Oct 9, 2019
2b3bed5
bump to 3.4.0
liuxuan30 Oct 9, 2019
dbf7fa2
fix change log format
liuxuan30 Oct 9, 2019
25c0742
fix pod build and update gems
liuxuan30 Oct 9, 2019
a5fda8f
introduce gracefully degrading abstractions for dark mode for ios and…
motocodeltd Oct 28, 2019
8c28ee1
Merge branch 'master' of https://github.com/danielgindi/Charts into d…
kileros Nov 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ fastlane/test_output
Carthage
Charts.framework.zip
ChartsRealm.framework.zip
.swiftpm/
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
language: objective-c
osx_image: xcode10
osx_image: xcode11
matrix:
include:
- osx_image: xcode10.2
- osx_image: xcode11
env: PLATFORM="iOS"
- osx_image: xcode10.2
- osx_image: xcode11
env: PLATFORM="tvOS"
- osx_image: xcode10.2
- osx_image: xcode11
env: PLATFORM="macOS"
env:
global:
Expand Down
204 changes: 176 additions & 28 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "uber/ios-snapshot-test-case" "6.0.3"
github "uber/ios-snapshot-test-case" "6.1.0"
2 changes: 1 addition & 1 deletion Charts.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Charts"
s.version = "3.3.0"
s.version = "3.4.0"
s.summary = "Charts is a powerful & easy to use chart library for iOS, tvOS and OSX (and Android)"
s.homepage = "https://github.com/danielgindi/Charts"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
Expand Down
2 changes: 2 additions & 0 deletions Charts.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 3.4.0;
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.dcg.Charts;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -1180,6 +1181,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 3.4.0;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.dcg.Charts;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Objective-C/Components/BalloonMarker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@

import Foundation
import Charts

#if canImport(UIKit)
import UIKit
#endif

open class BalloonMarker: MarkerImage
{
Expand Down
3 changes: 3 additions & 0 deletions ChartsDemo-iOS/Objective-C/Components/RadarMarkerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

import Foundation
import Charts
#if canImport(UIKit)
import UIKit
#endif

open class RadarMarkerView: MarkerView
{
Expand Down
3 changes: 3 additions & 0 deletions ChartsDemo-iOS/Objective-C/Components/XYMarkerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

import Foundation
import Charts
#if canImport(UIKit)
import UIKit
#endif

open class XYMarkerView: BalloonMarker
{
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand Down
3 changes: 3 additions & 0 deletions ChartsDemo-iOS/Swift/Components/BalloonMarker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

import Foundation
import Charts
#if canImport(UIKit)
import UIKit
#endif

open class BalloonMarker: MarkerImage
{
Expand Down
3 changes: 3 additions & 0 deletions ChartsDemo-iOS/Swift/Components/RadarMarkerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

import Foundation
import Charts
#if canImport(UIKit)
import UIKit
#endif

public class RadarMarkerView: MarkerView {
@IBOutlet var label: UILabel!
Expand Down
3 changes: 3 additions & 0 deletions ChartsDemo-iOS/Swift/Components/XYMarkerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

import Foundation
import Charts
#if canImport(UIKit)
import UIKit
#endif

public class XYMarkerView: BalloonMarker {
public var xAxisValueFormatter: IAxisValueFormatter
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/DemoBaseViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

enum Option {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/DemoListViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif

private struct ItemDef {
let title: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class AnotherBarChartViewController: DemoBaseViewController {
Expand Down
7 changes: 6 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/BarChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts
#if canImport(UIKit)
import UIKit
#endif

class BarChartViewController: DemoBaseViewController {

Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/BubbleChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class BubbleChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class CandleStickChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class ColoredLineChartViewController: DemoBaseViewController {
Expand Down
7 changes: 6 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/CombinedChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts
#if canImport(UIKit)
import UIKit
#endif

private let ITEM_COUNT = 12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

private class CubicLineSampleFillFormatter: IFillFormatter {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/HalfPieChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class HalfPieChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class HorizontalBarChartViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/LineChart1ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class LineChart1ViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/LineChart2ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class LineChart2ViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class LineChartFilledViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/LineChartTimeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class LineChartTimeViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class MultipleBarChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class MultipleLinesChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class NegativeStackedBarChartViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/PieChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class PieChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class PiePolylineChartViewController: DemoBaseViewController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class PositiveNegativeBarChartViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/RadarChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class RadarChartViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/ScatterChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class ScatterChartViewController: DemoBaseViewController {
Expand Down
4 changes: 3 additions & 1 deletion ChartsDemo-iOS/Swift/Demos/SinusBarChartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
// Copyright Β© 2017 jc. All rights reserved.
//

import UIKit
#if canImport(UIKit)
import UIKit
#endif
import Charts

class SinusBarChartViewController: DemoBaseViewController {
Expand Down
Loading