Jump to content
Software FX Community

Re: From 0 ...


User (Legacy)

Recommended Posts

I solved the problem.  I just set all my data points to the CHART_HIDDEN 

constant in my initialization routine, and prior to charting any 'real'

points.

You're Welcome

"Tim Shearer" <tshearer@symmetricom.com> wrote in message

news:DE0379D14694D211B4CE00609770710D050A7E@sftfx-221.wamnet.net...

> Thanks for the help, Carl, but I'm not clear on your answer. Using a Real

> Time chart, I insert new points by adding each point at the

> 'm_pChartFX->ValueEx[Y][0]=' array position. There's not really a FOR

loop

> involved, the ValueEx[][] is an array, but where would I 'offset it by -1'

> as you suggest?

> Thanks,

> Tim

> "Carl Hultay" <chultay@idirect.com> wrote in message

> news:DE0379D14694D211B4CE00609770710D050A6D@sftfx-221.wamnet.net...

> > I had that issue too... It's 0 based...

> >

> > So if you are using a FOR loop, then start it at zero.

> > If you are adding from an array, then offset it by -1

> >

> > -- Carl Hultay

> >

> > "Tim Shearer" <tshearer@symmetricom.com> wrote in message

> > news:DE0379D14694D211B4CE00609770710D050A69@sftfx-221.wamnet.net...

> > > My application implements a RealTime XY chart with over 4000

> > > points(MaxValue=4000). I insert the points on the left of my graph,

and

> > > they progress to the right as I add more. An annoyance I have is that

> > when

> > > the 1st data point is written to the chart, there is a line plotted

from

> 0

> > > to the new point. Thereafter the plotted line looks fine.

> > > Q: Is there any way that I could start the first data point by

itself,

> > not

> > > connected to 0 ?

> > > Thanks for the help,

> > > Tim

> > >

> >

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...