Using chart specific factory for the chart specific logic. Also, removed AppConfig for chart and using @Service instead.