private void MetroButton2_Click(object sender, EventArgs e) { List <double[]> arrpoint = ShowDataVM.ClasteringShow(cartesianChart1, dataGridView2, Convert.ToInt32(numericUpDown1.Value)); for (int i = 0; i < arrpoint.Count; i++) { dataGridView2.Rows.Add(i, arrpoint[i][1], arrpoint[i][2], arrpoint[i][3]); } ShowDataVM.CreateChartsClaster(arrpoint, cartesianChart1, Convert.ToInt32(numericUpDown1.Value)); }
private void cartesianChart1_DataClick(object sender, LiveCharts.ChartPoint chartPoint) { ShowDataVM.RebuildClastering(cartesianChart1, dataGridView2, (int)chartPoint.X, (int)chartPoint.Y, Convert.ToInt32(numericUpDown1.Value)); }
private void MetroButton1_Click(object sender, EventArgs e) { ShowDataVM.Show(dataGridView1, cartesianChart2); }