Hello
I have to use an infragistics ultra chart in an application. If there's no data on the place of chart it shows an error message : "Line chart error: you must have at least one row and one numeric column". If someone can advise me how to avoid showing up this message and just to open the emty page?
Thank a lot in advance.
Hello Elena,
Maybe one possible approach could be if your are using the code below:
public Form1() { InitializeComponent(); this.ultraChart1.ChartType = ChartType.Composite; ChartArea area = new ChartArea(); this.ultraChart1.CompositeChart.ChartAreas.Add(area); }
public Form1()
{
InitializeComponent();
this.ultraChart1.ChartType = ChartType.Composite;
ChartArea area = new ChartArea();
this.ultraChart1.CompositeChart.ChartAreas.Add(area);
}
Let me know if you have any questions.
Regards
Hi Elena
Can't you just supply zeros to the chart if there is no info and show a label with the info "no data available" or something like that? It is just an idea, I have never worked with a chart...