コード例 #1
0
 private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (comboBox1.SelectedIndex == 0)
     {
         barSeries1.SortByLabels(Styles.ValueListOrder.Ascending);
         label3.Text = "Data is sorted by text (ascending)";
     }
     else
     {
         barSeries1.SortByLabels(Styles.ValueListOrder.Descending);
         label3.Text = "Data is sorted by text (descending)";
     }
 }