Skip to content
المشاريع

حول

مخطط أعمدة خفيف للغاية وقابل للتحريك، كُتب باستخدام Swift 5.0 وXCode 10.2.

التعلّم والتعليم

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

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

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…