kailashdhondiyal Posted August 19, 2008 Report Share Posted August 19, 2008 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 Quote Link to comment Share on other sites More sharing options...
Frank Posted August 19, 2008 Report Share Posted August 19, 2008 > 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 Quote Link to comment Share on other sites More sharing options...
kailashdhondiyal Posted August 19, 2008 Author Report Share Posted August 19, 2008 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. Quote Link to comment Share on other sites More sharing options...
Frank Posted August 20, 2008 Report Share Posted August 20, 2008 The OpenData-CloseData paradigm does not exist in Chart FX 7 anymore (there is no OpenData property either). To set the data using the API follow the examples provided in the docs. Hanging.zip 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.