Improved to set own charts factory corresponded to own chart_type.