build chart with chartist