/LineChart-Pressure

read from sensor. make an array of data. save data to device. load data from device. To Do: draw a line graph in a uiview.

Primary LanguageSwiftMIT LicenseMIT

LineChart

This code demonstrate a way to build your own line chart without using any third-party library. It contains a simple yet effective algorithm to build a curved line through a set of points. I don't recommend you to import LineChart.swift directly into your project because it is build for demonstration purpose only. However, you should modify it according to your needs.

Demo

Demo Image

Tutorial

Tutorial on Medium

Authors

Minh Nguyen, nvnminh0@gmail.com

License

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