User (Legacy) Posted November 19, 2004 Report Share Posted November 19, 2004 How can I create a real-time chart such that X axis diplays time such that labels are displayed only near minute marks? (From time to time I receive an array of data to append. Each value corresponds to 1 second of observations). I do not know the length of the experiment, thus I can't evaluate Max property properly during initialisation stage. And it is not clear from the help how to define Min property such that the starting point would be e.g. 09:30. m_pChart->Axis->Item[AXIS_X]->Format = "THH:mm"; // format of labels m_pChart->Axis->Item[AXIS_X]->STEP = 1.0 / 24.0 / 60.0; // 1 minute labels only m_pChart->Axis->Item[AXIS_X]->Min = ???; m_pChart->Axis->Item[AXIS_X]->Max = ???; Thank you in advance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.