line graph in place server-side