public HistogramView()
{
InitializeComponent();
this.histogram = new Histogram();
graphBars = new ZedGraph.BarItem(String.Empty);
graphBars.Color = Color.DarkBlue;
zedGraphControl.GraphPane.Title.FontSpec.IsBold = true;
zedGraphControl.GraphPane.Title.FontSpec.Size = 32f;
zedGraphControl.GraphPane.Title.IsVisible = true;
zedGraphControl.GraphPane.XAxis.Type = AxisType.Text;
zedGraphControl.GraphPane.XAxis.Title.IsVisible = false;
zedGraphControl.GraphPane.XAxis.MinSpace = 0;
zedGraphControl.GraphPane.XAxis.MajorGrid.IsVisible = false;
zedGraphControl.GraphPane.XAxis.MinorGrid.IsVisible = false;
zedGraphControl.GraphPane.XAxis.MajorTic.IsBetweenLabels = true;
zedGraphControl.GraphPane.XAxis.MajorTic.IsInside = false;
zedGraphControl.GraphPane.XAxis.MajorTic.IsOpposite = false;
zedGraphControl.GraphPane.XAxis.MinorTic.IsAllTics = false;
zedGraphControl.GraphPane.XAxis.Scale.FontSpec.IsBold = true;
zedGraphControl.GraphPane.XAxis.Scale.FontSpec.IsAntiAlias = true;
zedGraphControl.GraphPane.YAxis.MinorTic.IsAllTics = false;
zedGraphControl.GraphPane.YAxis.MajorTic.IsOpposite = false;
zedGraphControl.GraphPane.YAxis.Title.Text = "Frequency";
zedGraphControl.GraphPane.YAxis.Title.FontSpec.Size = 24f;
zedGraphControl.GraphPane.YAxis.Title.FontSpec.IsBold = true;
zedGraphControl.GraphPane.Border.IsVisible = false;
zedGraphControl.GraphPane.BarSettings.MinBarGap = 0;
zedGraphControl.GraphPane.BarSettings.MinClusterGap = 0;
zedGraphControl.GraphPane.CurveList.Add(graphBars);
}