factor out common highcharts options, use portlets for stats charts