Talisa Posted July 18, 2008 Report Share Posted July 18, 2008 I write codes like this in a botton's respondent function: chart1.Extensions.Clear(); chart1.Titles.Clear(); chart1.Extensions.Remove(olap1); olap1 = new ChartFX.WinForms.Olap.Olap(); ADOMD.Connect(connectStr, strQuery); olap1.DataSource = ADOMD; chart1.Extensions.Add(olap1); chart1.UpdateSizeNow(); "olap1" and "ADOMD" are global Variable. Here is the problem: After these codes performed and the chartfx renew, the categarybar disappears. And if I click the chart several times, some bugs would appear sometimes. What should I do ? I will be very appreciated if anyone tell me the answer. I need the answer badlly. Thank you~ Quote Link to comment Share on other sites More sharing options...
Frank Posted July 18, 2008 Report Share Posted July 18, 2008 Please provide with a sample program that we can run here (use a standard SQL Server Database if the sample requires one) that reproduces the problem. Quote Link to comment Share on other sites More sharing options...
Talisa Posted July 18, 2008 Author Report Share Posted July 18, 2008 How can I upload a sample program here? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.