User (Legacy) Posted January 11, 2004 Report Share Posted January 11, 2004 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 Link to comment Share on other sites More sharing options...
Software FX Posted January 11, 2004 Report Share Posted January 11, 2004 > 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.