All Projects → viniciusaro → ios-bar-chart-view

viniciusaro / ios-bar-chart-view

Licence: other
The iOS Bar Chart is a great tool to represent data in an elegant and simple way. The default appearance has a beautiful flat design, It has built in animation features for presenting, inserting, deleting and updating actions and it is fully customisable, being able to change colors, label text, font, all through properties attributes and delega…

Programming Languages

objective c
16641 projects - #2 most used programming language

iOS Bar Chart View

The iOS Bar Chart is a great tool to represent data in an elegant and simple way. The default appearance has a beautiful flat design, It has built in animation features for presenting, inserting, deleting and updating actions and it is fully customisable, being able to change colors, label text, font, all through properties attributes and delegate methods. The content is managed by a data source object following the built in Apple controls standards.

Demo video: https://www.youtube.com/watch?v=eWJi99ZGcgs

More info at: http://myappcontrols.binpress.com/product/ios-bar-chart-view/1836

alt tag

Installation

Add all files from the src folder to your project Import as usual: #import "MCBarChartView.h" Add QuartzCore.framework to your project

Setup

MCBarChartView can be added to your view either from the Interface Builder or through code.

Interface Builder (Xcode 5):

  • Open the Storyboard or Xib file you want to add the bar chart to.
  • Drag a new UIView from the Object Library into your view controller.
  • Resize and position your new UIView as you wish (the bar chart will be drawn on the center of the new UIView).
  • Make sure the new UIView is selected and choose the Identity Inspector tab on Xcode's the Utilities view (on the right).
  • Change the class from UIView to MCBarChartView.
  • On the view controller's header file create an IBOutlet property of the type MCBarChartView and link it to the object you created on the Interface Builder.

Through Code:

CGRect frame = CGRectMake(x, y, width, height);
MCBarChartView *barChart = [[MCBarChartView alloc] initWithFrame:frame];
[self.view addSubview:barChart];

Credits

Brought to you by MyAppControls team.

Similar Projects

iOS Circular Progress Bar

iOS Simple Color Picker

iOS Pie Chart

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].