User (Legacy) Posted October 3, 2003 Report Share Posted October 3, 2003 Hi... I am making a real time chart using ChartFx in VB. The chart behaviour is eratic for following conditions. Can anybody help?? 1. When I add data very fast say @ 1ms, then the entire body of the chart on the right side shrinks/expands 2. When I make scrolling on for this chart, the lines being drawn two points gets broken, sometimes does not come 3. I am not able to scroll the X-axix labels as I go on adding points in the chart Thanks Sameer Fegade Link to comment Share on other sites More sharing options...
Software FX Posted October 3, 2003 Report Share Posted October 3, 2003 Dear Sameer, In answer to your questions: 1) This behaviour you are experiencing is quite normal. What happens is that when ChartFX is adding points to a chart and the maximum has not been reached it tries to space out all the points evenly. We have a flag called CT_EVENSPACING that you can turn off if you wish this will fix the problem. However with every solution there is a drawback. If you turn off EVENSPACING the chart will scroll much slower and thus not be as efficient. So you really have two very good solutions. a) Intialize the chart with data so that the chart is filled with data from the beginning. (Up to your Max) Turn off EVENSPACING until your chart reaches the total number of values and then turn it on again. This spacing problem only is annoying when you have not reached your maximum and you have MANY points. Which I believe is your case. 2) Do not understand. Perhaps you have some points that are hidden? 3) There are several properties in ChartFX which can be turned on and off to scroll the legends.See the VB RealTime Sample which uses both EVENSPACING and COD_SCROLLLEGEND. Can you possibly attach some screenshots of your problems for us to look at? Are you using the ChartFX Real-Time Extension or just ChartFX? CJS SoftwareFX Inc. "Sameer Fegade" <sfegade@impetus.co.in> wrote in message news:3F7D59E9.7080504@impetus.co.in... > Hi... > I am making a real time chart using ChartFx in VB. > The chart behaviour is eratic for following conditions. Can anybody help?? > > 1. When I add data very fast say @ 1ms, then the entire body of the > chart on the right side shrinks/expands > 2. When I make scrolling on for this chart, the lines being drawn two > points gets broken, sometimes does not come > 3. I am not able to scroll the X-axix labels as I go on adding points in > the chart > > Thanks > > Sameer Fegade > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.