Paun Alexandru Posted March 20, 2012 Report Share Posted March 20, 2012 Hello. I have a created a chart using chart FX and whenever I hover the mouse on one of the drawn curves and my application's refresh kicks in to update that curve, it gives the following error: Specified argument was out of the range of valid values.Parameter name: series Source: ChartFX.WinForms Target: Double get_Item (Int32, Int32). What the refresh is doing: chartEff.Series.Clear(); chartEff.Data.Clear(); and then it passes the updated datatable as source for the chart. Thanks. Quote Link to comment Share on other sites More sharing options...
lilatracy Posted May 4, 2012 Report Share Posted May 4, 2012 Hi I think we have the same problem. At the moment it helps me: Chart1.Reset() Chart1.DataSource = ds.Tables(0) After this you'll have the problem, that you must relaod the Chartsettings, because after Chart.Reset you'll have the chart with default settings. 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.