Click here to Skip to main content
15,896,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
how to set time as X-axis value for graph control in Vc++

void SetRange(tsTime xmin, tsTime xmax, double ymin, double ymax)
{
static BYTE parms[] = VTS_DATE VTS_DATE VTS_R8 VTS_R8 ;
InvokeHelper(0x35, DISPATCH_METHOD, VT_EMPTY, NULL, parms, xmin, xmax, ymin, ymax);
}

this is graph set value for axis function.

i need to set X-Axis value as time

What I have tried:

I have tried with changing function dection for xmin , xmax as tsdate structure. but i is not working
Posted
Comments
Richard MacCutchan 16-Jul-16 3:59am    
What control are you referring to?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900