Hi, I am using UltraChart - PieChart. Initially, there should not be any data in the system, so there won't be any rows in the DataTable of the UltraChart. So the PieChart is displaying the following error: Pie3D Chart Error: You must include at least one row and one numeric column. I have read the User's manual. It also mentioned similar thing.
I have included one numeric column, but no rows.
Is there a way to display empty pie chart with no rows. Thanks, Nuha
Hi,I am using UltraChart - PieChart. when data is null, the PieChart is displaying the following error:Pie3D Chart Error: You must include at least one row and one numeric column.
How to change it? just like empty or other message.
Thank a lot in advance.
Hi Nuha,
Wondering is anything I can help you with.
Marianne
Actually the message is correct; you do need to supply at least one row and one numeric column.
Here’s a link to the Overview of Chart Data Requirements.
http://help.infragistics.com/NetAdvantage/WinForms/2009.2/CLR2.0/?page=Chart_Overview_of_Chart_Data_Requirements.html
And this is the link for the Data Requirements for 3D Charts
http://help.infragistics.com/NetAdvantage/WinForms/2009.2/CLR2.0/?page=Chart_Data_Requirements_for_3D_Charts.html
If you want to modify the message when invalid data is received you can use the InvalidDataReceived event and change the e.Text.
Hi Marianne,
I have attached a file with how the pie chart looks when the number of rows is zero. I believe that the "EmptyChartText" shoud appear here in a nice way. Following is the source code I am using:
DataTable dt = new DataTable();
dt.Columns.Add("Status", typeof(System.String)); dt.Columns.Add("Frequency", typeof(System.Int32));
ultraChart1.DataSource = dt; ultraChart1.Data.DataBind();
This look like a bug to me. If you have a problem opening the attachment, please let me know.
Thanks,
Nuha
I’m just checking back if you have any follow-up questions.
Please let me know if there is anything I can help with further.