Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

CWGraph X axis timestamp starting at 00:00:00?

I would like to plot temperature vs. time on a CWGraph control in VB.
I am using the ChartY method to plot two temperature values (Y)
against time (X), with one reading for each temperature added every
second. I can format the X axis to display time, and to increment one
seconds worth for each point. However, I can't seem to format the
X-axis to start at "00:00:00". If I set the Min to 0, I get 12:00
displayed on the graph (which I assume is 12:00 midnight 30 December
1899). Any ideas how to have the CWGraph control display "relative"
time starting from "00:00:00"?

---
Bob
0 Kudos
Message 1 of 3
(6,193 Views)
I created a new project, added a CWGraph, went to the property pages for the graph, clicked the Format tab, clicked Time under Build-in format styles, then selected the "hh:nn:ss" format. When I click OK, I see 00:00:00 for the minimum tick on the X axis. Are you seeing something different when you follow these steps?

- Elton
0 Kudos
Message 2 of 3
(6,193 Views)
Elton,

> I created a new project, added a CWGraph, went to the property pages
> for the graph, clicked the Format tab, clicked Time under Build-in
> format styles, then selected the "hh:nn:ss" format. When I click
OK,
> I see 00:00:00 for the minimum tick on the X axis. Are you seeing
> something different when you follow these steps?

Thanks for the reply.

Well, thats embarrassing. I didn't know about the "Time" format in
the properties page. It works out exactly as I need. Thanks.


---
Bob
0 Kudos
Message 3 of 3
(6,193 Views)