Sample class that created a columns graphic and the Linear Regression using jFreeChart library.