ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Hiding data
Posted by dale on Jul-31-2011 13:43
Hello,

I have a scrolling FinanceChart, and need to vary the start/end time of the data being shown on the chart, since various stocks and futures have different start/end trading sessions.  I have a big array in memory with every minute of every 24 hour day represented, and the data has the Chart::NoValue to start out with, and then is overwritten as valid data comes along.  This solves the missing data problem, as was described in the documentation.

My question is this, if I want to show multiple days of data on the scrolling chart, but only want to show data on each day from say 9:30am till 4pm, is there a mechanism to do this?  Or do I have to resample my dataset from 9:30am to 4pm, load in a temporary array, and then send that to drawChart?  I was hoping I could somehow set a "hidden" flag to cause the charting to only show the non-hidden data values on the chart, so that 4pm candle on previous day is then followed by 9:30am candle on the next day, with nothing plotted between them.

Thanks,
Dale

  Re: Hiding data
Posted by Peter Kwan on Aug-02-2011 00:21
Hi Dale,

For your case, you would need to copy the data you want to display to arrays, and send those arrays to ChartDirector. Unluckily, there is no "hidden" flag that can achieve what you need.

Regards
Peter Kwan