title: Customize series point labels value of a DevExpress chart control
body: <p>I would like to customize every series point values with a property obtained from the very same data source that is bound to the chart. To illustrate my problem I'll use the same example as DevExpress does in their <a href="http://documentation.devexpress.com/#XtraCharts/CustomDocument7787" rel="nofollow noreferrer">website</a> for chart data binding:</p>
  <pre><code>public class Record {
      int id, age;
      string name;
      public Record(int id, string name, int age) {
          this.id = id;
          this.name = name;
          this.age = age;
      }
      public int ID {
          get { return id; }
          set { id = value; }
      }
      public string Name {
          get { return name; }
          set { name = value; }
      }
      public int Age {
          get { return age; }
          set { age = value; }
      }
  }
  </code></pre>
  <p>To fill the chart it uses the following block of code:</p>
  <pre><code>private void Form1_Load(object sender, EventArgs e) {
      // Create a list. 
      ArrayList listDataSource = new ArrayList();
  
      // Populate the list with records. 
      listDataSource.Add(new Record(1, &quot;Jane&quot;, 19));
      listDataSource.Add(new Record(2, &quot;Joe&quot;, 30));
      listDataSource.Add(new Record(3, &quot;Bill&quot;, 15));
      listDataSource.Add(new Record(4, &quot;Michael&quot;, 42));
  
      // Bind the chart to the list. 
      ChartControl myChart = chartControl1;
      myChart.DataSource = listDataSource;
      
      // Create a series, and add it to the chart. 
      Series series1 = new Series(&quot;My Series&quot;, ViewType.Bar);
      myChart.Series.Add(series1);
  
      // Adjust the series data members. 
      series1.ArgumentDataMember = &quot;name&quot;;
      series1.ValueDataMembers.AddRange(new string[] { &quot;age&quot; });
  
      // Access the view-type-specific options of the series. 
      ((BarSeriesView)series1.View).ColorEach = true;
      series1.LegendPointOptions.Pattern = &quot;{A}&quot;;
  }
  </code></pre>
  <p>The resulting chart of the code is:</p>
  <p><img src="https://i.stack.imgur.com/Qmixc.png" alt="Resulting chart" /></p>
  <p>My question is, how could I use for example the property <code>ID</code> to add extra information for every serie label points? (e.g {ID + &quot; - &quot; + Age}) In the previous graph we would get these label data points: &quot;1 - 19&quot;, &quot;2 - 30&quot;, &quot;3 - 15&quot; and &quot;4 - 42&quot;.</p>