Hellow friends, i have a datatable with this struct
des ene feb mar abri may jun
real 2 3 4 5 6 7
presup 3 4 5 7 8 4
I can that in my xamChar, in the same area, I need that grafique a series in column the real, and the other serie in line.
How i can this??
Hello,
The XamChart control exposes a Series collection. You have to create two Series : the first one with a ChartType set to "Column" and the second one - "Line". Let me know if you have any questions with this matter.
-Vlad
Please helpme, i have the xamChart, and i have 2 series, but how i can binding with my datatable, ??
The DataMapping cannot be written to generate multiple series. You must create a series for each column, assign each Series.DataSource to the same DataTable, and set the DataMapping differently for each one.
In my xamchart i have this code
<
igCA:XamChart Margin="96,134,148,15" Name="xamChart1" xmlns:igCA="http://infragistics.com/Chart">
<igCA:XamChart.Series>
<igCA:Series ChartType="Bar" DataMapping="Label=ene;Value=ene;"/>
</igCA:XamChart.Series>
</igCA:XamChart>
In my cs i have this
DataTable
dt = new DataTable();
dt = cc.obtenerPresupuestoGrafico();
this.xamChart1.Series[0].DataSource = dt;
But when i rut the aplication only i can see the value for enero.
how i can write the DataMapping But i can see the values for all months