• Stars
    star
    131
  • Rank 266,906 (Top 6 %)
  • Language
    Objective-C
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Realm.io module for Charts

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.

  • Xcode 11 / Swift 5
  • iOS >= 8.0 (Use as an Embedded Framework)
  • tvOS >= 9.0
  • macOS >= 10.11

Having trouble running the demo?

  • ChartsRealmDemo/ChartsRealmDemo.xcodeproj is the demo project for iOS/tvOS
  • Make sure you are running a supported version of Xcode.
    • Usually it is specified here a few lines above.
    • In most cases it will be the latest Xcode version.
  • Make sure that your project supports latest Swift
  • Run carthage checkout in the project folder, to fetch dependencies (i.e Realm).
    • Realm is not required for using Charts. If you are not interested in using realm, go for the core library, here.
    • If you don't have Carthage - you can get it here.

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?

  • Please note the difference between installing a compiled framework from CocoaPods or Carthage, and copying the source code.
  • If you are using Realm, please also #import <ChartsRealm/ChartsRealm.h>
  • If you are compiling the source code and want to use Realm, please make sure to include the code from ChartsRealm project.
  • Please read the Usage section again.
  • Search in the issues (ChartsRealm issues, Charts issues. Please do not double-post!)
  • Try to politely ask in the issues section

Other problems / feature requests

  • Search in the issues
  • Try to politely ask in the issues section

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:

  • Contribute code, issues and pull requests
  • Let people know this library exists (πŸ”₯ spread the word πŸ”₯)
  • Donate (You can buy me a beer, or you can buy me dinner :-)

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:

  • Make sure you are using the latest version of the library. Check the release-section.
  • Study the Android version's Documentation-Wiki
  • Study the (Still incomplete Doc-Percent) Pod-Documentation
  • Search or open questions on stackoverflow with the ios-charts tag
  • Search known issues for your problem (open and closed)
  • Create new issues (please πŸ”₯ search known issues before πŸ”₯, do not create duplicate issues)

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.

More Repositories

1

Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Swift
27,274
star
2

drunken-danger-zone

All kinds of iOS / ObjC helper classes. The name of the repository - was amazingly suggested by GitHub :-)
65
star
3

knex-schema-builder

A schema builder module for knex.js, handles schema initialization and migration
JavaScript
49
star
4

app-redirect

Handles redirecting to the native app / app store on iOS and Android
JavaScript
41
star
5

node-csv-reader

A CSV stream reader, with many many features, and ability to work with the largest datasets
JavaScript
35
star
6

node-autodetect-decoder-stream

An iconv-lite stream that autodetects the encoding and fallbacks to a specified fallback encoding.
JavaScript
31
star
7

android-helpers

A collection of helper classes for android
Kotlin
29
star
8

jquery.dgtable

A jQuery high-performance table for web-apps
JavaScript
28
star
9

node-python-struct

Packs/Unpacks/Measures structs according to Python's `struct` format
JavaScript
27
star
10

UIRefreshControl-UITableView

An extension to UIRefreshControl to setup a UIRefreshControl with a UITableView (a bugfix). (iOS / ObjC)
Objective-C
22
star
11

rollup-plugin-natives

Extract native modules (.node files) while creating a rollup bundle and put them in one place
JavaScript
20
star
12

SpreadsheetStreams.net

Streaming interfaces for writing spreadsheets in .NET - supports csv, xml, xlsx.
C#
18
star
13

DGCurvedLabel

A UILabel that curves the text around the specified radius
Objective-C
14
star
14

node-optimize

Optimize a node project to a single JS file for distribution release.
JavaScript
13
star
15

node-vboxmanage

A wrapper for VirtualBox CLI with Promises
JavaScript
12
star
16

DGTeaEncryptor

A lightweight TEA (XXTEA) encryption library for iOS / ObjC.
Objective-C
10
star
17

UITableViewRevealer

A revealer for the UITableView - shows hidden views like timestamps in iMessage app.
Swift
10
star
18

DGDownloadManager

A simple download manager for iOS / ObjC
Objective-C
9
star
19

MailQueueNet

A .NET service that queues .NET's MailMessage objects to go out in the background
C#
8
star
20

jquery.maskedinput

A jQuery masked input control
JavaScript
6
star
21

node-childprocess-queue

Use `childprocess` module freely while limiting the amount of concurrent processes
JavaScript
5
star
22

DGPingUtility

A ping utility for iOS.
Objective-C
5
star
23

DGToneGenerator

A DTMF tone generator for iOS / ObjC
Objective-C
5
star
24

DGImageLoaderView

A bullet-proof high-performance image view that loads from your URLs (web & local!) for iOS / ObjC
Objective-C
5
star
25

DGAudioTranscoder

An audio transcoding module - takes any source format, transcodes to any codec available on iOS/OSX.
Objective-C
5
star
26

DGStateBroadcaster

A broadcaster for several sensors (Low battery, distance travelled, location accuracy, network reachability) for iOS / ObjC
Objective-C
5
star
27

DGFastImageSize

Retrieve image dimensions in no-time at all. High performance image dimension reader for iOS / ObjC.
Objective-C
5
star
28

SequelNet

SQL abstraction/generalization/protection layer.
C#
4
star
29

SwiftEval

Eval for Swift
Swift
4
star
30

DGSpreadSheetExport

CSV or XMLSS (XML Spreadsheet) generation library for iOS / ObjC
Objective-C
4
star
31

js-i18n

An i18n library, with support for plurals, dates, C style format specifiers and more.
JavaScript
4
star
32

node-spreadsheet-writer

A spreadsheet writer, for excel compatible formats. (node.js)
JavaScript
4
star
33

android-httprequest

A chainable HttpRequest/Response library for Android.
Java
4
star
34

DGSlideViewController

A sliding view controller for iOS
Objective-C
4
star
35

DGDropdownView

A customizable "drop view" like the iOS Push Notification (iOS / ObjC)
Objective-C
4
star
36

DGLocationManager

A singleton Location Manager as a replacement for CLLocationManager (iOS / ObjC)
Objective-C
4
star
37

grunt-node-optimize

A grunt task for node-optimizer. Optimize a node project to a single JS file for distribution release.
JavaScript
3
star
38

DGBarcodeView

Barcode view for iOS / ObjC
Objective-C
3
star
39

DGPhoneNumberFormatter

An NSFormatter for phone numbers. (iOS / ObjC)
Objective-C
3
star
40

virtual-list-helper

JavaScript
3
star
41

node-benchmark

A benchmarking utility for Node.js
JavaScript
3
star
42

DGPopupView

A customizable popup view for iOS / ObjC
Swift
3
star
43

DGButton

A UIButton subclass with support for more customization, including RTLing image position (iOS / ObjC)
Objective-C
3
star
44

DGFocusImageGallery

An image gallery view controller for iOS / ObjC
Objective-C
3
star
45

Codenet

A collection of .NET components in several subjects
C#
3
star
46

react-native-fast-image

🚩 FastImage, performant React Native image component.
TypeScript
3
star
47

DGBlockThrottle

A little utility to throttle calls to a block in ObjC
Objective-C
3
star
48

Eval.net

Evaluate basic expressions (math,constants,logic,functions) in .NET runtime
C#
3
star
49

DGPageControl

A customizable paging control, compatible alternative to UIPageControl (iOS / ObjC)
Objective-C
2
star
50

Imaging.net

A helper library for imaging stuff!
C#
2
star
51

sitback

A git diff based approach to package and deploy server apps of any kind.
JavaScript
2
star
52

KotlinEval

Kotlin port of the BigEval library
Kotlin
2
star
53

DGGrayScaleImage

A UIImage that represents a grayscale version of another UIImage. (iOS / ObjC)
Objective-C
2
star
54

jquery.dropzone

A simple jQuery plugin for creating styleable dropzones for files
JavaScript
2
star
55

DGLabelNumberAnimator

A helper library that will animate labels between two numbers (iOS / ObjC)
Objective-C
2
star
56

DGiTunesSearchApi

A wrapper for iTunes' search API, for iOS / ObjC.
Objective-C
2
star
57

DGFlatProgressBarView

A flat progress bar view, as an alternative to UIProgressView.
Objective-C
2
star
58

jquery.numeric

Restrict input fields to numeric input, and a generic jQuery `valueAsNumber`
JavaScript
2
star
59

dg.Utilities

A collection of utilities in all kinds of areas
C#
2
star
60

jquery.fakebutton

Make an element respond like a button - to keyboard, mouse and touch events.
JavaScript
2
star
61

node-memory-lock

A memory-based read-write lock for Node.js
JavaScript
2
star
62

NSString-Trims

An extension to NSString to easily trim whitespace. (iOS / ObjC)
Objective-C
2
star
63

selectbox

JavaScript
2
star
64

node-netmsg

Simple message transfer over network between Node.js, with Buffer and file support
JavaScript
2
star
65

jquery.fastdom

Make all interactive elements on the page respond correctly to touch events.
JavaScript
2
star
66

node-vmrun

A wrapper for VMWare CLI with Promises
JavaScript
2
star
67

DGTintableImageView

A UIView that presents a UIImage with a tint to another color. (iOS / ObjC)
Objective-C
2
star
68

DGTextFieldPickerView

A UITextField that can show a UIPickerView or UIDatePicker for options (iOS / ObjC)
Objective-C
2
star
69

buffer-ios-image-viewer

The BFRImageViewer is a turnkey solution to present images within your iOS app πŸŽ‰!
Objective-C
2
star
70

DGKeyboardScrollHandler

A helper to handle scrolling your UITableView or UIScrollView when the keyboard appears (iOS / ObjC)
Swift
2
star
71

FileDir

A cross-platform file and directory enumerator. With UTF8 (linux) and Wide Char (windows) support.
C++
2
star
72

NSUserDefaults-DefaultValues

An extension to NSUserDefaults to retrieve values with an optional default value. (iOS / ObjC)
Objective-C
2
star
73

DGInputAccessoryToolbar

A standard "prev/next/done" toolbar to put as inputAccessoryView for your keyboard (iOS / ObjC)
Objective-C
2
star
74

DGTextField

A customizable UITextField subclass (iOS / ObjC)
Objective-C
1
star
75

DGPickerButton

A UIButton that can show a UIPickerView or UIDatePicker for options. (iOS / ObjC)
Objective-C
1
star
76

DGTwoSidedView

A UIView subclass that has two sides, so you can flip it or move in 3d space (iOS / ObjC)
Objective-C
1
star
77

node-git-attributes

Parse gitattributes files
JavaScript
1
star
78

grooveshark-objc-sdk

Grooveshark SDK for iOS with ObjC
Objective-C
1
star
79

node-cli-parser

A different kind (non-unix) of a CLI arguments parser.
JavaScript
1
star
80

NSString-EmailValidation

An extension to NSString to for email address validation. (iOS / ObjC)
Objective-C
1
star
81

node-bson-json-transform

A Node.js Transform for streaming Bson into Json
JavaScript
1
star
82

DGBorderedLabel

An alternative to UILabel, with the option of a bordered text. (iOS / ObjC)
Objective-C
1
star
83

jquery.mobileselectmenu

Converts a menu to a select HTML. Good for responsive designs.
JavaScript
1
star
84

zone-polyfill

A Zone polyfill for node.js
JavaScript
1
star
85

node-win32filetime

Convert from Win32 FILETIME struct to UNIX/JS time, and vice-versa
JavaScript
1
star
86

DGGeocoding

A geocoding services API wrapper, for iOS / ObjC
Objective-C
1
star
87

jquery.fixedbar

Keep a bar or other component fixed while scrolling the window beyond a certain point
JavaScript
1
star
88

NSString-Javascript

An extension to NSString to simply encode strings for JavaScript. (iOS / ObjC)
Objective-C
1
star
89

DGNumberBadgeView

A number badge view, similar to iOS' push notification badge (iOS / ObjC)
Objective-C
1
star
90

jquery.with-hovers

Detect if the platform should have CSS hovers. Touch screens without mouse support should not have hovers!
JavaScript
1
star
91

DGCompatibleSegmentedControl

A subclass of UISegmentControl that will render on iOS 6.0 like it's iOS 7.0
Objective-C
1
star