public void AddData(string rowName, int jobNr, int taskNr, double start, double end, string tooltip, bool showLabel = true) { AddRowName(rowName); AddJobColor(jobNr); JobDataPoint point = new JobDataPoint(rowNames[rowName], new double[] { start, end }, jobNr, taskNr); point.Color = jobColors[jobNr]; point.AxisLabel = rowName; point.ToolTip = tooltip; chart.Series[0].Points.Add(point); }
public void AddData(string rowName, int jobNr, int taskNr, double start, double end, string tooltip, bool showLabel = true) { AddRowName(rowName); AddJobColor(jobNr); JobDataPoint point = new JobDataPoint(rowNames[rowName], new double[] { start, end }, jobNr, taskNr); point.Color = jobColors[jobNr]; point.AxisLabel = rowName; point.ToolTip = tooltip; chart.Series[0].Points.Add(point); }