Added line chart legend names, moved position of radio buttons above table, and updated logic in getting stats methods