Hi,
I have a combo box which shows a list of chart types I can select from. I would like to know if there is a way that I can show ONLY chart type that can be displayed. Currently, if I select a chart type that can't display with the data I provide, it will give me a message indicating that. However, I would like to eleminate those INVALID chart type in the combo box. Is there a way I can do that?
Thank you!
The chart itself doesn't have the ability to tell if the data will be valid before that data is bound to the chart. I think the only way to eliminate some of the charts from your combo box is to manually create a set of conditions based on your data. For example, if there are less than 2 numeric columns, you can eliminate the scatter and bubble charts. You can go through the list of data requirements for each chart to determine what these conditions should be. Take a look at this help page. Hopefully this will be helpful to you:http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Overview_of_Chart_Data_Requirements.html