this is a server for chart