<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Monospace'; font-size:11pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I generate graphs every now and then which show a year of data. The data is temperature and water depth. It all works well, except that the x-axis is marked in days since zero. I would MUCH rather have the x-axis show actual dates. It would be enough to show the first of each month. There are 35000 data points in each graph, so showing every date would not work!</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">So far I have not found a way to do this. Can anyone give me any clues?</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">KST version = 2.0.8 (from Fedora repository)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Fedora 31, 64-bit</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Qt = 4.8.7</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">KDE = whatever version installs to Fedora 31</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">A short sample of the input data file:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">===============</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'monospace'; color:#000000; background-color:#ffffff;">Date,Water Pressure,Barometric Pressure,Water Depth,Temperature </span><span style=" font-family:'monospace';"><br />01/01/19 00:00:00,14.7982,14.3716,0.869,53.623 <br />01/01/19 00:30:00,14.8026,14.379,0.863,53.623 <br />01/01/19 01:00:00,14.8028,14.3821,0.857,53.798 <br />01/01/19 01:30:00,14.8092,14.3938,0.846,53.798 <br />01/01/19 02:00:00,14.8223,14.4057,0.849,53.798 <br />01/01/19 02:30:00,14.8288,14.4162,0.841,53.798 <br />01/01/19 03:00:00,14.8246,14.4162,0.832,53.973 <br />01/01/19 03:30:00,14.8289,14.4191,0.835,53.973 <br />01/01/19 04:00:00,14.8246,14.4176,0.829,53.973 <br />01/01/19 04:30:00,14.8289,14.425,0.823,53.973 <br />01/01/19 05:00:00,14.8336,14.431,0.820,54.147 <br />01/01/19 05:30:00,14.8379,14.4368,0.817,54.147 <br />01/01/19 06:00:00,14.8465,14.4472,0.813,54.147 <br />01/01/19 06:30:00,14.853,14.4532,0.815,54.147 <br />01/01/19 07:00:00,14.8596,14.4606,0.813,54.147 <br />01/01/19 07:30:00,14.8661,14.4739,0.799,54.147 <br />01/01/19 08:00:00,14.8748,14.4798,0.805,54.147 <br />01/01/19 08:30:00,14.8771,14.4901,0.788,54.322 <br />01/01/19 09:00:00,14.8793,14.4946,0.784,54.322 <br />01/01/19 09:30:00,14.888,14.5035,0.783,54.322<br />================<br /></span><br />In the data wizard, I specify the first line of the file as field names. In "Date/Time Interpretation" I set</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Interpret Field = Date</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Formatted String = MM/dd/yy hh:mm:ss</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Offset = Relative, 0.00 seconds</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">In the window for editing a graph, under X-Axis I have tried every combination I can think of for date interpretation and display format. None of them produce what I want.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks!<br />-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Bill Gee</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p></body></html>