Software FX Posted February 14, 2000 Report Share Posted February 14, 2000 In ChartFX IE 2000 you can use the ClearData and ClearLegend methods to clear a chart. In ChartFX IE 3.5 you can use ClearLegend but instead of using ClearData you will need to use OpenDataEx, CloseData as follows Chart.OpenDataEx COD_VALUES Or COD_REMOVE,0,0 Chart.CloseData COD_VALUES Or COD_REMOVE We strongly recommend the use of OpenDataEx and CloseData when passing data, they are used to optimize memory allocation, calculate the scale for the axes, repaint the chart, etc. Regards, Juan Cegarra Software FX, Inc. http://support.softwarefx.com -----Original Message----- From: Tom [ mailto:tgrube@ameritech.net] Posted At: Monday, February 14, 2000 12:52 PM Posted To: Client Conversation: Clearing Graph Data Subject: Clearing Graph Data I am creating a graph completely on the client side using JavaScript. What is the proper way to remove any previous graph data in order to post new results? Also, I was under the impressions that you must you the OpenDataEx() and CloseData() functions to pass values to a graph, but I was able to do so without using these functions, so what is their purpose? 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.