For ticket AN-617. Added ability to create an 'average' horizontal line for cumulative line charts. Updated the example HTML file too.