1, obtain a JFreeChart instance by calling method of ChartFactory, then set other attribute needed
2, prepare renderer, plot, then new instance of JFreeChart():
JFreeChart chart = new JFreeChart(......)
is there difference between the two ways? Do they have same performance?