All Projects → ridvank → RKPieChart

ridvank / RKPieChart

Licence: MIT License
Pie Chart written in Swift 3

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to RKPieChart

Vue Chartjs
📊 Vue.js wrapper for Chart.js
Stars: ✭ 4,554 (+6697.01%)
Mutual labels:  chart, pie
Form Render
🚴‍♀️ 阿里飞猪 - 很易用的中后台「表单 / 表格 / 图表」解决方案
Stars: ✭ 3,881 (+5692.54%)
Mutual labels:  chart, table
android-charts
A curated list of Android Chart libraries.
Stars: ✭ 69 (+2.99%)
Mutual labels:  chart, pie
Fl chart
A powerful Flutter chart library, currently supporting Line Chart, Bar Chart, Pie Chart, Scatter Chart and Radar Chart.
Stars: ✭ 3,882 (+5694.03%)
Mutual labels:  chart, piechart
Jhchart
Stars: ✭ 593 (+785.07%)
Mutual labels:  chart, table
Aachartkit Swift
📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的跨平台数据可视化图表框架,支持柱状图、条形图、…
Stars: ✭ 1,962 (+2828.36%)
Mutual labels:  chart, pie
survey-analytics
SurveyJS Analytics Pack
Stars: ✭ 56 (-16.42%)
Mutual labels:  chart, table
element-table
An extended table to integration with bootstrap-table and element-ui.
Stars: ✭ 18 (-73.13%)
Mutual labels:  table
teks
Easily get custom go template based outputs to your command-line tool. Like in docker/kubernetes
Stars: ✭ 41 (-38.81%)
Mutual labels:  table
FancyCandles
An open source candlestick chart control for WPF.
Stars: ✭ 60 (-10.45%)
Mutual labels:  chart
charts
HAProxy Ingress helm charts
Stars: ✭ 24 (-64.18%)
Mutual labels:  chart
chart-type-icon
An icon library that covers the vast majority of chart types
Stars: ✭ 33 (-50.75%)
Mutual labels:  chart
termgraph
terminal candle stick graph library
Stars: ✭ 62 (-7.46%)
Mutual labels:  chart
helm-charts
Helm Charts
Stars: ✭ 24 (-64.18%)
Mutual labels:  chart
LoadTestToolbox
Lightweight tools for load testing web applications, written in C#
Stars: ✭ 75 (+11.94%)
Mutual labels:  chart
ZingChart-Demos
A collection of tutorials and demos for using ZingChart. Clone, fork, and get started with the best Javascript charting library.
Stars: ✭ 18 (-73.13%)
Mutual labels:  chart
a2d3
Flexible and extensible D3 directives for Angular 2
Stars: ✭ 22 (-67.16%)
Mutual labels:  chart
jui-grid
JUI grid can handle millions of data, and can display the data in a hierarchical structure.
Stars: ✭ 12 (-82.09%)
Mutual labels:  table
dimibob-potatoes
역대 디미고 급식에서 감자가 들어간 메뉴를 전부 찾아줍니다.
Stars: ✭ 13 (-80.6%)
Mutual labels:  chart
ak-vue3
组件库包含了 AutoForm 自动表单、BackTop 返回顶部、Breadcrumb 面包屑、 Button 按钮、Cascader 级联选择器、Checkbox 多选框、Collapse 折叠面板、ColorPicker 颜色选择器、DataPicker 时间选择器、Dialog 弹层对话框、Alert 弹框、Echarts 图形图表、Form 表单、Input 输入框、Lazy 图片延时加载、Loading 加载等待、Menu 菜单、Pagination 分页、Progress 进度条、Radio 单选框、Select 选择器、Steps 步骤条、Swiper 图片轮播、Switch 开关、Table 表格、Tabs 标签页、Textarea 文本框、Tooltip 提示、Tr…
Stars: ✭ 24 (-64.18%)
Mutual labels:  table

RKPieChart: Super easy Pie Chart

Cocoapod CI Status Version License Platform Language

RKPieChart is super easy pie chart view written in Swift 3.

Screenshots

Animations

0 1

Initalization

First of all single or multiple RKPieChartItem should be created. ratio and color are required but title variable is optional on init method.

let firstItem: RKPieChartItem = RKPieChartItem(ratio: 50, color: .orange, title: "1️⃣th Item ")
let secondItem: RKPieChartItem = RKPieChartItem(ratio: 30, color: .gray, title: "2️⃣nd Item")
let thirdItem: RKPieChartItem = RKPieChartItem(ratio: 20, color: .yellow, title: "3️⃣th Item")

Initalization is also simple; items variable is required and centerTitle variable is optional.

let chartView = RKPieChartView(items: [firstItem, secondItem, thirdItem], centerTitle: "I am title 🕶")

You can change background color of the pie chart circle:

chartView.circleColor = .green

To change the arc width of the chart:

chartView.arcWidth = 60

You can also give indensity to the chart by updating isIntensityActivated variable. false is the default behaviour.

chartView.isIntensityActivated = true

You can update the style of the pie chart. 3 types supported. butt,square and round. If you have 1 item to show you can choose all of them. However If you have multiple item round and square not supported.

chartView.style = .butt

You can hide the RKPieChart item title if you want by using:

chartView.isTitleViewHidden = false

You can animate RKPieChart view if you want by using:

chartView.isAnimationActivated = true

Default type is false which means no animation will be executed.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 8
  • iOS 9.0+

Installation

RKPieChart is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RKPieChart"

Author

Ridvan Kuccuk, [email protected]

License

RKPieChart is available under the MIT license. See the LICENSE file for more info.

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].