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