/// <summary>
        /// Set the visualisiation object for the datagrid
        /// </summary>
        /// <param name="visualiser"></param>
        public void SetStatisticsVisualiser(BasicStatisticsVisualiser visualiser)
        {
            this.DataSource = visualiser.Visualisation.Select(x => new
            {
                Statistics = x.Key,
                Value = x.Value
            }).ToList();

            //seems to reset this after data is loaded?  So reset here.
            this.Columns[1].DefaultCellStyle.Format = "N2";
        }
 public void SetAggregateResults(BasicStatisticsVisualiser visualiser)
 {
     this.statisticsDataGridView1.SetStatisticsVisualiser(visualiser);
 }