BarChart in Swift
Sep 1, 2018 · 1 min read

I want to present you my solution to create my own bar chart without using any third part library. There are a lot of chart libraries, but I needed something different.
My main goal was to create a reusable view that would present graph with X, Y axis and a legend. In my solution axes are scaled automatically from the data source.
Example

Source
Here you can find chart bar source code, or you can visit my example project:
Thank you for reading! If you liked this article, please clap so other people can read it too. I will also have more motivation for next article :) You can also see my other articles, maybe you will find something for you.
If you have any question or suggestion leave a comment.
