My initial TimeAxis label displays are in 24h format, after I change time range, I call WRResetTimeLabels (m_pDynGrDesc, m_XAxisLabels, ((time->tm_hour * 60 * 60) + (time->tm_min * 60) + time->tm_sec)); After ResetTimeLabels call, I get correct end time. When I move horizontal bar, I get negative # for before midnight data. Doesn't ResetTimeLabels automatically calculate time in 24hr format? Do I need to make another WRUpdateTimeLabel call?
In general it is not a good idea to change the time scale of real-time windows, if that is what you are doing. That is best left to the static plotting windows. The history buffer does not store the x-values for the related data and changing the scale may get the history buffer out of sync with the displayed scale. Please supply us with the complete source to a simple example that we can run that demonstrates the problem and we may be able to suggest something or explain the behavior. Zip a complete project that we can run and send it to support@quinn-curtis.com with an explanation of how to reproduce the problem.