hy,please give me a example how to use XamWebChart if it has any detailed example or video please paste the link?
Hello,
You can find a lot of samples at our new Samples Browser - https://es.infragistics.com/support/retired-products
Go trough the "Feature List" section in the left menu to browse the XamWebChart samples. You can also check the online help for more details - http://help.infragistics.com/Doc/DV/2011.1/CLR4.0/?page=Developers_Guide_xamWebChart.html
Regards,
Boyan
hi, Boyan
Thanks for reply. Actually i saw the basic chart
<Grid x:Name="LayoutRoot"> <igChart:XamWebChart> <igChart:XamWebChart.Series> <igChart:Series ChartType="Column"> <igChart:Series.DataPoints> <igChart:DataPoint Value="10" Label="point1" /> <igChart:DataPoint Value="20" Label="point2" /> <igChart:DataPoint Value="30" Label="point3" /> </igChart:Series.DataPoints> </igChart:Series> </igChart:XamWebChart.Series> </igChart:XamWebChart> <Grid/> here in data point static values are given how could i bind them with my database values that are in my datatable please elaborate?
<Grid x:Name="LayoutRoot"> <igChart:XamWebChart> <igChart:XamWebChart.Series> <igChart:Series ChartType="Column"> <igChart:Series.DataPoints> <igChart:DataPoint Value="10" Label="point1" /> <igChart:DataPoint Value="20" Label="point2" /> <igChart:DataPoint Value="30" Label="point3" /> </igChart:Series.DataPoints> </igChart:Series> </igChart:XamWebChart.Series> </igChart:XamWebChart> <Grid/>
<
Grid
x
:
Name
="LayoutRoot"
>
igChart
XamWebChart
XamWebChart.Series
Series
ChartType
="Column"
Series.DataPoints
DataPoint
Value
="10"
Label
="point1"
/>
="20"
="point2"
="30"
="point3"
</
here is my code:
in XAML File:
<igCA:XamChart Name="xchEmployees"> <igCA:XamChart.Series> <igCA:Series ChartType="Bar" Fill="#FFD21717" Stroke="#FF000000" DataMapping="Lable=Income; Value=Profit"> </igCA:Series> </igCA:XamChart.Series> </igCA:XamChart>in cs file code behind:this .xchEmployees.Series[0].DataSource = mydataTable;it is giving an error:XamChart Warning: data binding error-wrong data points
<igCA:XamChart Name="xchEmployees">
<igCA:XamChart.Series>
<igCA:Series ChartType="Bar" Fill="#FFD21717" Stroke="#FF000000" DataMapping="Lable=Income; Value=Profit">
</igCA:Series>
</igCA:XamChart.Series>
</igCA:XamChart>
in cs file code behind:
this
.xchEmployees.Series[0].DataSource = mydataTable;
it is giving an error:
XamChart Warning: data binding error-wrong data points