protected virtual DataPoint CreateDataPoint(int index, double value, AlleleFrequency af)
        {
            string    nl = Environment.NewLine;
            DataPoint p  = new DataPoint(index, value);

            p.ToolTip = string.Format("Id: {0}" + nl +
                                      "Relative Frequency: {1}" + nl +
                                      "Average Solution Quality: {2}" + nl +
                                      "Average Impact: {3}" + nl +
                                      "Contained in Best Known Solution: {4}" + nl +
                                      "Contained in Best Solution: {5}",
                                      af.Id, af.Frequency, af.AverageSolutionQuality, af.AverageImpact, af.ContainedInBestKnownSolution, af.ContainedInBestSolution);
            p.IsEmpty = value == 0;
            return(p);
        }
 protected virtual DataPoint CreateDataPoint(int index, double value, AlleleFrequency af) {
   string nl = Environment.NewLine;
   DataPoint p = new DataPoint(index, value);
   p.ToolTip = string.Format("Id: {0}" + nl +
                             "Relative Frequency: {1}" + nl +
                             "Average Solution Quality: {2}" + nl +
                             "Average Impact: {3}" + nl +
                             "Contained in Best Known Solution: {4}" + nl +
                             "Contained in Best Solution: {5}",
                             af.Id, af.Frequency, af.AverageSolutionQuality, af.AverageImpact, af.ContainedInBestKnownSolution, af.ContainedInBestSolution);
   p.IsEmpty = value == 0;
   return p;
 }