public static void AddChartBar(string rowText, object barValue, DateTime fromTime, DateTime toTime, Color color, Color hoverColor, int rowIndex, int datasetIndex, bool isSetup, bool isConstraintViolation, ref List<ChartBarDate> bars, Font rowTextFont, int barStartLeft, System.Windows.Forms.Control ths) { ChartBarDate bar = new ChartBarDate(); bar.Text = rowText; bar.Value = barValue; bar.StartValue = fromTime; bar.EndValue = toTime; bar.color = color; bar.HoverColor = hoverColor; bar.RowIndex = rowIndex; bar.DataSetIndex = datasetIndex; bar.IsSetup = isSetup; bar.IsConstraintViolation = isConstraintViolation; bars.Add(bar); SetBarStartLeft(rowText, rowTextFont, barStartLeft, ths); }
public static void AddChartBar(string rowText, object barValue, DateTime fromTime, DateTime toTime, Color color, Color hoverColor, int rowIndex, int datasetIndex, bool isSetup, bool isConstraintViolation, ref List <ChartBarDate> bars, Font rowTextFont, int barStartLeft, System.Windows.Forms.Control ths) { ChartBarDate bar = new ChartBarDate(); bar.Text = rowText; bar.Value = barValue; bar.StartValue = fromTime; bar.EndValue = toTime; bar.color = color; bar.HoverColor = hoverColor; bar.RowIndex = rowIndex; bar.DataSetIndex = datasetIndex; bar.IsSetup = isSetup; bar.IsConstraintViolation = isConstraintViolation; bars.Add(bar); SetBarStartLeft(rowText, rowTextFont, barStartLeft, ths); }