What does your feature request improve on? Please describe.
It would improve the usability, if the axes in plots would switch automatically to time axes, if one plots data containung date-time values in one of the columns.
Describe the solution you'd like
If data is plotted, which has date-time columns in one of the axis direction (or consistent in their z matrix for 2D plots), then the corresponding axis should switch to time axes with some default tick behavior.
Additional context
Add any other context or screenshots about the feature request here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The easiest way to achieve this behavior is to automatically set the corresponding setting in PlotData, if the necessary conditions apply. The detection could be done in Plot::extractDataValues(), which is also the place to check and automatically set the time axes settings. Note that it is reasonable to determine the date-time format based upon the data interval length.
Note also that it is reasonable to also add this behavior to the hist command. A good starting point might be to extend HistogramParameters with a corresponding information and use that within the corresponding plotting functions. Ensure that it is reflected in the GraphViewer.
DESCRIPTION
What does your feature request improve on? Please describe. It would improve the usability, if the axes in plots would switch automatically to time axes, if one plots data containung date-time values in one of the columns.
Describe the solution you'd like If data is plotted, which has date-time columns in one of the axis direction (or consistent in their z matrix for 2D plots), then the corresponding axis should switch to time axes with some default tick behavior.
Additional context Add any other context or screenshots about the feature request here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The easiest way to achieve this behavior is to automatically set the corresponding setting in
PlotData
, if the necessary conditions apply. The detection could be done inPlot::extractDataValues()
, which is also the place to check and automatically set the time axes settings. Note that it is reasonable to determine the date-time format based upon the data interval length.Note also that it is reasonable to also add this behavior to the
hist
command. A good starting point might be to extendHistogramParameters
with a corresponding information and use that within the corresponding plotting functions. Ensure that it is reflected in the GraphViewer.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST