Jump to content
Software FX Community

Workaround of CloseData method in Chart FX 7.0


kailashdhondiyal

Recommended Posts

 Hi All,

I used Chart FX 6.2 for my application and now i am going to migrate it to Chart FX 7.0.

But i am facing some problems described below.

1. CloseData method is not available in  Chart FX 7.0

  a. How would i close the OpenData method in Chart FX 7.0?

  b. Would it commit  the data automatically or i have to write the code for commit(Please provide the code snippet)?

  c. What would be the best alternative of CloseData method in  Chart FX 7.0?

Looking for a good solution

Thanx and Regards

Kailash Dhondiyal

 

Link to comment
Share on other sites

a. How would i close the OpenData method in Chart FX 7.0?

There is no OpenData method in Chart FX 7

>  b. Would it commit  the data automatically or i have to write the code for commit(Please provide the code snippet)?

The data will commit automatically right before redrawing the chart. You can force an earlier commit by calling:

chart.Data.CommitChanges();

In general, you don't have to call this method unless you need to obtain information back from the chart that depends on the data.

 

 

DrilldownSample.zip

Link to comment
Share on other sites

Thanx for reply Francisco.

Yes you are right that there is no OpenData Method in Chart FX 7. Earlier in Chart FX 6.2 it was a method but now in Chart FX 7 it is available as a properties.

Now question is as in Chart FX 6.2, When we call OpenData method right after that we call CloseData method but now OpenData method is a property and we can set it, so how can we handle CloseData process in Chart FX 7.

Waiting for your feedback. 

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...