factor out the svg generation code.
fill in x "helper" lines.
add fill mode.
add title box and the beginning of clip support.
svg line should handle discontinuities.
add title support.
add more error checking to DataTable.
draw the legend, some general cleanup.