Jump to content
Software FX Community

About olap--categarybar


Talisa

Recommended Posts

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~

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...