Fixes to the line chart. Some documentation added.