Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Charts | 26,550 | 876 | a day ago | 29 | April 16, 2020 | 887 | apache-2.0 | Swift | ||
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. | ||||||||||
Kschart | 954 | 8 months ago | 13 | April 17, 2020 | 5 | mit | Swift | |||
k线图/kline/kchart,已经集成MA/EMA/MACD/KDJ/BOLL/RSI/WR/AVG等指标,新增指标及其方便。适用于股票/区块链交易所等种类App。Swift5编写,CPU/内存占用率极低,60FPS稳定运行。示例集成websocket,并接入币安数据(需VPN)。 | ||||||||||
React Native Ios Charts | 600 | 17 | 6 years ago | 20 | September 17, 2016 | 31 | mit | Swift | ||
Bringing iOS Charts to React Native | ||||||||||
Swiftui Charts | 453 | a year ago | 5 | mit | Swift | |||||
:rocket: SwiftUI Charts with custom styles | ||||||||||
Jyradarchart | 418 | 2 | 5 years ago | 7 | October 22, 2018 | 3 | mit | Objective-C | ||
an iOS open source Radar Chart implementation | ||||||||||
Yochartimagekit | 406 | 1 | 3 years ago | 8 | February 03, 2016 | 7 | mit | Objective-C | ||
Chart image framework for watchOS | ||||||||||
Expenso Ios | 393 | a year ago | 1 | apache-2.0 | Swift | |||||
A Simple Expense Tracker App built to demonstrate the use of SwiftUI, CoreData, Charts, Biometrics (Face & Touch ID), Export CSV and MVVM Architecture. | ||||||||||
Linechart | 208 | 4 years ago | 4 | mit | Swift | |||||
A light-weight line chart for iOS. Swift 5.0, XCode 10.2 | ||||||||||
Wqcharts Ios | 208 | 3 years ago | 1 | March 06, 2020 | mit | Swift | ||||
highly customizable and easy to use chart library for iOS | ||||||||||
Mimchart Library | 174 | 10 years ago | 9 | Objective-C | ||||||
iPhone/iPad chart library |
Version 4.0.0, synced to MPAndroidChart #f6a398b
Charts
and ChartsRealm
, instead of Charts/Core
Charts/Realm
Okay so there's this beautiful library called MPAndroidChart by Philipp Jahoda which has become very popular amongst Android developers, but there was no decent solution to create charts for iOS.
I've chosen to write it in Swift
as it can be highly optimized by the compiler, and can be used in both Swift
and ObjC
project. The demo project is written in ObjC
to demonstrate how it works.
An amazing feature of this library now, for Android, iOS, tvOS and macOS, is the time it saves you when developing for both platforms, as the learning curve is singleton- it happens only once, and the code stays very similar so developers don't have to go around and re-invent the app to produce the same output with a different library. (And that's not even considering the fact that there's not really another good choice out there currently...)
ChartsDemo/ChartsDemo.xcodeproj
is the demo project for iOS/tvOSChartsDemo-OSX/ChartsDemo-OSX.xcodeproj
is the demo project for macOScarthage checkout
in the project folder, to fetch dependencies (i.e testing dependencies).
In order to correctly compile:
Charts.xcodeproj
to your project@import Charts
ChartsRealm
as a dependency too.Want your tutorial to show here? Create a PR!
Add pod 'Charts'
to your Podfile. "Charts" is the name of the library.
For Realm support, please add pod 'ChartsRealm'
too.
Note: is not the correct library, and refers to a different project by someone else.pod 'ios-charts'
Charts now include Carthage prebuilt binaries.
github "danielgindi/Charts" == 4.1.0
github "danielgindi/Charts" ~> 4.1.0
In order to build the binaries for a new release, use carthage build --no-skip-current && carthage archive Charts
.
Swift Package Manager
dependencies: [
.package(url: "https://github.com/danielgindi/Charts.git", .upToNextMajor(from: "4.1.0"))
]
Xamarin (by @Flash3001): iOS - GitHub/NuGet. Android - GitHub/NuGet.
If you like what you see here, and want to support the work being done in this repository, you could:
Note: The author of MPAndroidChart is the reason that this library exists, and is accepting donations on his page. He deserves them!
If you are having questions or problems, you should:
ios-charts
tagCore features:
Chart types:
Screenshots are currently taken from the original repository, as they render exactly the same :-)
LineChart (with legend, simple design)
LineChart (with legend, simple design)
LineChart (cubic lines)
LineChart (gradient fill)
Combined-Chart (bar- and linechart in this case)
BarChart (with legend, simple design)
Currently there's no need for documentation for the iOS/tvOS/macOS version, as the API is 95% the same as on Android.
You can read the official MPAndroidChart documentation here: Wiki
Or you can see the Charts Demo project in both Objective-C and Swift (ChartsDemo-iOS, as well as macOS ChartsDemo-macOS) and learn the how-tos from it.
Goes to @liuxuan30, @petester42 and @AlBirdie for new features, bugfixes, and lots and lots of involvement in our open-sourced community! You guys are a huge help to all of those coming here with questions and issues, and I couldn't respond to all of those without you.
Debricked: Use open source securely
Copyright 2016 Daniel Cohen Gindi & Philipp Jahoda
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.