title: Asp.net charts- multiple y values
body: <p>I have a stacked bar chart where I want to display two values for the Y parameter at the method : </p>
  
  <pre><code>public void DataBindXY(
      IEnumerable xValue,
      string xField,
      IEnumerable yValue,
      string yFields
  )
  </code></pre>
  
  <p>My problem is that I would like to have two values for Y and not just one, as mentioned at  [MS documentation][1] </p>
  
  <p>[1]: <a href="http://msdn.microsoft.com/en-us/library/dd488523.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/dd488523.aspx</a>  , I tried putting at the yField parameter two values , and I am keep getting "You can only set 1 Y values for this data point. Parameter name: yValue"</p>
  
  <p>here is an example of my code , while DV is a DataView object with three parameters, two applicable for Y axis and one applicable for X axis:</p>
  
  <pre><code>Points.DataBindXY(dv, "Xfield", dv, "Yfield1,Yfield2");
  </code></pre>
  
  <p>Thanks, David</p>