public DamageChart(DamageChartType chartType) { InitializeComponent(); this.chartType = chartType; switch (chartType) { case DamageChartType.DamageDealt: this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel; chartTitle.Text = "Damage Dealt"; break; case DamageChartType.DamageTaken: this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Chocolate; chartTitle.Text = "Damage Taken"; break; case DamageChartType.HealingDone: this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.EarthTones; chartTitle.Text = "Healing Done"; break; } this.Name = "Tibialyzer (Damage Form)"; this.Text = "Tibialyzer (Damage Form)"; }
public static void ShowDamageMeter(Dictionary <string, DamageResult> dps, string comm, DamageChartType chartType, string filter = "", string screenshot_path = "") { DamageChart f = new DamageChart(chartType); f.dps = dps; f.filter = filter; ShowNotification(f, comm, screenshot_path); }
public static void ShowDamageMeter(Dictionary<string, DamageResult> dps, string comm, DamageChartType chartType, string filter = "", string screenshot_path = "") { DamageChart f = new DamageChart(chartType); f.dps = dps; f.filter = filter; ShowNotification(f, comm, screenshot_path); }