Hi guys, just wanted to ask you what's the problem with legend in this chart, it displays the same value for both columns (pic attached). Legend format string is <ITEM_LABEL> - <DATA_VALUE: #0> and chart is column chart. I inserted one row with 3 columns (series name, article 1 value, article 2 value)
I recently made a fix for when binding to a NumericSeries was causing this display to appear... are you binding to a NumericSeries? Try binding to a DataTable instead if you need a workaround.
Let me know how you are binding your chart. Even a quick little sample that you could provide that demonstrates the problem would ensure we are talking about the same thing. The fix is not released yet but I want to confirm that you have the same setup before proceeding.
Matthew, yes, I am binding to NumericSeries, so, yes, we are talking about the same setup. Here is the code belowNumericDataPointCollection data = new NumericDataPointCollection();foreach (DataRow row in dsArticles.Tables[0].Rows){ data.Add(new NumericDataPoint(Convert.ToDouble(text), row[0].ToString(), false));}NumericSeries series = new NumericSeries();series.Points.AddRange(data.ToArray());this.chartArticles.Series.Add(series);
Ok, I'll try to bind it to DataTable. Just interested, when will the fix be released ?
It is entering QE shortly and if all goes well it would show up in the next SR which is scheduled for Dec 20th currently. Good thing I ran another pass with the ColumnChart and the above snippet... there was another way to get into that area and I've now fixed it for your scenario (and any NumericSeries scenario for that matter). I'm having Developer Support create a case and attach to Bug 159698 so you can be notified when the fix is released. The fix would be for 13.1 and 13.2 just in case you did not know already.
Probably would not be a bad idea to confirm with the Developer Support Engineer that what we discussed does indeed match up. I'll let them know.
Also let me know if you encounter anything else in the Chart.
Mathew, Thanks. Just to inform you that I tried with binding datatable, and the problem occures again. I used simple code below:
DataTable mydata = new DataTable();mydata.Columns.Add("Series", typeof(string));mydata.Columns.Add("Column1", typeof(int));mydata.Columns.Add("Column2", typeof(int));mydata.Columns.Add("Column3", typeof(int));mydata.Columns.Add("Column4", typeof(int));mydata.Rows.Add(new Object[] {"New series", 150, 280, 80, 320});ultraChart1.DataSource = mydata;ultraChart1.DataBind();
Pic is in attachment.
Hello,
I have opened a private case for you so that I can link it to this development issue. This way you will be notified automatically when the development issue is updated. The case number is "CAS-128403-C8Z6V4". You will see it located here: https://ko.infragistics.com/my-account/support-activity
Let me know if you have any questions regarding this matter.
This issue has been addressed in service release versions WinForms_13.2.20132.2010, WinForms_13.1.20131.2095.
The following additional notes have been provided regarding this issue:
For those who have an active subscription, this service release is now available under your account at the Infragistics Website. To download the service release, log in to ‘Account’ and select ‘Keys & Downloads’. Select the appropriate tab for this product; then the license key. The available service releases (Hot Fixes) should now be listed on the page.
Hi, I haven't had a chance to try update, so I'll test it in next few days, and confirm this thread. But I have no doubt it's working fine :)