I have been using a piechart 3d on my web application for a while. Nothing in the code changed, but all of a sudden the chart is showing up as a bar chart instead of a 3D pie chart. The same program is running on another server and that server is still showing 3D pie chart. Any idea what might be happening here? I am wondering if this could be because of the infragistics installation getting corrupt on one particular server.
The only thing I can think of is if the chart's type somehow relies on an external source (such as a preset file). I would suggest rebuilding the application and re-deploying it on the server. It also wouldn't hurt to check to see that ChartType is still set to PieChart3D.
I think I figured out what was causing the problem. Basically on the server the admins changed the time to a future date (by mistake) and then changed it back to the correct date. Ever since the date was switched back, the problem start happening. I also found that every time a chart is accessed, it creates a image file Chart_1.png in a folder called ChartImages. I went ahead and deleted all the images in the folder and the chart was coming back as Pie charts now. Do you know why the chart image is getting saved in the ChartImages folder all the time?
The chart needs to save its image and pass it to the client in order to be displayed on the page. ChartImages folder is the default location for these images. You can read a bit more about chart deployment here:http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/Chart_Image_Deployment_in_WebChart.html