This is a home work project for my CSE 260 class. The purpose of this project is to practic Java GUI and some design patterns such as singleton, observer pattern, stratergy pattern. This application will convert a set of numbers into bar graph view.
![alt tag](https://github.com/yiochen/BarGraph/blob/master/asset/demo.png)- To create a data point, click "add field". To remove one, click "remove".
- Click "refresh" to refresh the graph view on the right.
- Once a text field lose focus, the graph will be updated. You can do that by clicking another text field or clicking "refresh".
- Drag the slider to change the scale of the bar graph.
- You can switch the graph presentation between linear and logarithmic.
- Click or drag on the bar graph panel on the right to update the bar graph base on your mouse position. The text fields on the left will also be updated accordingly.