private void pointColorBtn_Click(object sender, EventArgs e)//+ { DataPoint point = pointColorBtn.Tag as DataPoint; point.Color = CommonService.ChooseColor(colorDialog, point.Color); RefreshLegend(visualChart.Series[0]); }
private void SeriesColor(Series series) { Color oldColor = series.Color; Color selectedColor = CommonService.ChooseColor(colorDialog, oldColor); if (selectedColor != oldColor) { foreach (var dataPointItem in series.Points) { dataPointItem.Color = selectedColor; } RefreshLegend(visualChart.Series[0]); } }
private void firstColorBtn_Click(object sender, EventArgs e) { firstColorBtn.BackColor = CommonService.ChooseColor(colorDialog, firstColorBtn.BackColor); }
private void secondColorBtn_Click(object sender, EventArgs e) { secondColorBtn.BackColor = CommonService.ChooseColor(colorDialog, secondColorBtn.BackColor); }