Home

Awesome

Version 3.4.0

alt tag Supported Platforms Releases Latest pod release Carthage compatible Build Status codecov Join the chat at https://gitter.im/danielgindi/Charts

We've separated ChartsRealm from the main repository, for easier handling of dependencies.

Please avoid duplicate issues. Post on this repo for Charts+Realm specific problems, and other stuff in the issues section of the core Charts repo.

Having trouble running the demo?

Usage

In order to correctly compile:

  1. Drag the ChartsRealm.xcodeproj to your project
  2. Go to your target's settings, hit the "+" under the "Embedded Binaries" section, and select the ChartsRealm.framework
  3. @import Charts, @import ChartsRealm
  4. When using Swift in an ObjC project:
    • You need to import your Bridging Header. Usually it is "YourProject-Swift.h", so in ChartsRealmDemo it's "ChartsRealmDemo-Swift.h". Do not try to actually include "ChartsRealmDemo-Swift.h" in your project :-)
    • (Xcode 8.1 and earlier) Under "Build Options", mark "Embedded Content Contains Swift Code"
    • (Xcode 8.2+) Under "Build Options", mark "Always Embed Swift Standard Libraries"
  5. Realm.io:
    • Note that the Realm framework is not linked with ChartsRealm. You need to have the framework in your project, and in a compatible version to whatever is compiled with ChartsRealm. We will do our best to always compile against the latest version.

3rd party tutorials

Troubleshooting

Can't compile?

Other problems / feature requests

CocoaPods Install

Add both pod 'Charts' and pod 'ChartsRealm' to your Podfile.

Carthage Install

Charts now include Carthage prebuilt binaries.

github "danielgindi/ChartsRealm" ~> 3.4.0

In order to build the binaries for a new release, use carthage build --no-skip-current && carthage archive ChartsRealm.

Help

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!

Questions & Issues

If you are having questions or problems, you should:

Special Thanks

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.

License

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.