Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple Objective-C Bar Chart / Histogram library for iOS / macOS applications.

License

NotificationsYou must be signed in to change notification settings

dhilipsiva/DSBarChart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

______  ___________            _____ _                _|  _  \/  ___| ___ \          /  __ \ |              | || | | |\ `--.| |_/ / __ _ _ __| /  \/ |__   __ _ _ __| |_| | | | `--. \ ___ \/ _` | '__| |   | '_ \ / _` | '__| __|| |/ / /\__/ / |_/ / (_| | |  | \__/\ | | | (_| | |  | |_|___/  \____/\____/ \__,_|_|   \____/_| |_|\__,_|_|   \__|

A simple Objective-C Bar Chart / Histogram library.

Latest Version: 0.4.0

Gitter chat

Installation

Install manually

Simply clickhere to download the file and add it into your project directory.

Install using git

  1. Simply typegit clone git@github.com:dhilipsiva/DSBarChart.git to clone this repo orgit submodule add git@github.com:dhilipsiva/DSBarChart.git into your project folder.

Install using CocoaPods

DSBarChart is also avilable onCocoaPods. To Install using CocoaPods, follow the instructions:

  1. Open your Podfile
  2. Appendpod 'DSBarChart', '~> 0.4.0'
  3. Typepod install on terminal
  4. Open your.xcworkspace file.

Sample Usage

NSArray *vals = [NSArrayarrayWithObjects:                 [NSNumbernumberWithInt:30],                 [NSNumbernumberWithInt:40],                 [NSNumbernumberWithInt:20],                 [NSNumbernumberWithInt:56],                 [NSNumbernumberWithInt:70],                 [NSNumbernumberWithInt:34],                 [NSNumbernumberWithInt:43],nil];NSArray *refs = [NSArrayarrayWithObjects:@"M",@"Tu",@"W",@"Th",@"F",@"Sa",@"Su",nil];DSBarChart *chrt = [[DSBarChartalloc]initWithFrame:ChartView.boundscolor:[UIColorgreenColor]references:refsandValues:vals];chrt.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;chrt.bounds = ChartView.bounds;[ChartViewaddSubview:chrt];

Output of the sample code above

DSBarChart

Who is using DSBarChart

  1. ReWire

If you are using DSBarChart, please feel free to edit this list.

Credits

  1. DhilipSiva

Support

  • Email: dhilipsiva[AT]gmail[DOT]com

About

A simple Objective-C Bar Chart / Histogram library for iOS / macOS applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp