プロジェクト
GitHubで見る
nhatminh12369/BarChart
概要
Swift 5.0とXCode 10.2で書かれた、アニメーション可能な超軽量の棒グラフ。
学習・教育計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルBarChart
This is an extremely light-weight, animatable bar chart. The main objective is to help iOS developers to learn how to create their own charts from scratch without using any third-party libraries.
It is created along with a tutorial on Medium: Tutorial on Medium
Demo

Usage
let chart = BeautifulBarChart(frame: CGRect(x: 0, y: 0, width: 200, height: 300))
let dataEntries = [
DataEntry(color: UIColor.red, height: 0.2, textValue: "20", title: "Some title"),
DataEntry(color: UIColor.green, height: 0.7, textValue: "70", title: "Some title")
]
chart.updateDataEntries(dataEntries: dataEntries, animated: true)
self.view.addSubview(chart) // Assuming that you are writing this code inside a view controller
Authors
Minh Nguyen, [email protected]
License
BarChart is available under the MIT license. See the LICENSE file for more info.
関連プロジェクトを探す
読み込み中…