- drag this two files to your project
- open the .m file, u could find some function which calculate the maximum and minimum count of the chart, custom it if you like
- open the .h file, see? there are 2 properties, first is a array contains the data for the broken line, second is a number, you can use it to custom the x axis.
- now, u have already got it, have a nice day🍺! btw: i'll update a category of UIColor soon that afford a method makes you let the chart's backgroundcolor like the apple's healthkit
louishors / brokenlinetools Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0