I have a repeater in my page and i try to use a stepline with the repeater.
in the itemdatabound th bind the data to the chart by filtering. I checked the data after filter and i found all things are ok.
My problem is that the page display the stepline charts but the it repeat the same data in all the charts. I think that is a problem in the chart when it tries to generate the data.
Have you any idea why the chart does not display the data correctly?
Thank you in advance.
http://community.infragistics.com/forums/p/23774/87173.aspx#87173
This response does not resolve my problem. If you nedd more details or some code i can send you.
Some code will be good. Can you send me your page in which you are creating the charts?
When i use this code :
******************
DataView dv = new DataView(); dv = dt.DefaultView; int regionValue = (int)(((DataRowView)e.Item.DataItem).Row["RegionId"]); dv.RowFilter = "RegionId = " + regionValue;
*****************
I checked the data for the regionValue and i found that it changes his value.. So i think that the dataview is not the same.
Anyway, it work fine with the code you have proposed.
Thank you.
Thank you for your responce.
It works like a charm.
I think the issue here is that for every chart the DataView is the same.
Try changing:
DataView dv = new DataView();
dv = dt.DefaultView;
to:
dv.Table = dt;
Thank you for your response,
In our project the DataView contain a lot of data (more than 100 000 records). I would not to copy the data t o an array. I would like to know why the chart does not work with DataView when i use a repeater control.
Thank you for your response.
I tried your solution and it works with an array.
I have a question:
Why it does not work with the dataview?