Bug 497924 - No calculations possible with date values in functions
Summary: No calculations possible with date values in functions
Status: CONFIRMED
Alias: None
Product: LabPlot2
Classification: Applications
Component: frontend (other bugs)
Version First Reported In: 2.11.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-26 21:30 UTC by RG
Modified: 2024-12-27 10:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Image "Function Values - LabPlot" and Project File (41.76 KB, application/x-zip-compressed)
2024-12-26 21:30 UTC, RG
Details
Function Values - LabPlot (27.50 KB, image/jpeg)
2024-12-26 21:36 UTC, RG
Details
Project File "LB_Is05.lml" (18.01 KB, application/x-xz)
2024-12-26 21:38 UTC, RG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RG 2024-12-26 21:30:22 UTC
Created attachment 176891 [details]
Image "Function Values - LabPlot" and Project File

Description
============
For example, it is not possible to calculate the current age from the date of birth and the current date, as the date is apparently regarded as non-numerical.
My use case is simple: continuous measurement of infant weight and visualisation of weight development in the WHO Child Growth Standards Charts.

Steps to Reproduce
===================
1.	Start LabPlot
2.	Open project LB_Is05.lml
3.	Select spreadsheet column “Age_days”
4.	Context menu/Generate Data/ Function Values
5.	Try to select “Date” for variable “x”

(see image "LPIS05_01_FuncVals.jpg")
 
Actual Result
============
Selecting "Date" is not possible.

Expected Result
==============
Allow calculations with Datetime values 

My System
=========
Win10 Pro 64 bit, German
LabPlot V 2.11.1,  Language=English
Comment 1 RG 2024-12-26 21:36:07 UTC
Created attachment 176892 [details]
Function Values - LabPlot
Comment 2 RG 2024-12-26 21:38:16 UTC
Created attachment 176893 [details]
Project File "LB_Is05.lml"