Jump to content
Software FX Community

Time Series Data, Max and Min Time


User (Legacy)

Recommended Posts

I want to display time series data on a chart for a period of one day. The

data is accumulated at intervals of 15 minutes during trading hours which

varies but is typically 12-20 hours per day. During the non-trading period,

no data is accumulated.

Two questions...

1. How do I set the AxisX.Min to 12AM today and AxisX.Max to 12AM tomorrow?

2. How do I force the chart to display nothing between 12AM to Start of

Trade and End of Trade to 12AM tomorrow?

Thank you

post-2107-13922378365679_thumb.jpg

Link to comment
Share on other sites

> 1. How do I set the AxisX.Min to 12AM today and AxisX.Max to 12AM

tomorrow?

First you need to make sure that your chart is an X/Y chart. That is that

you pass this date-time values as X-Values not as string labels.

Then you can manipulate the X-Axis Min and Max like you do with the Y-Axis:

chart.AxisX.Min = <value>;

> 2. How do I force the chart to display nothing between 12AM to Start of

> Trade and End of Trade to 12AM tomorrow?

This will happen automatically when you pass the date-time values as

X-Values.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...