If to have a chart, i mean, the data table with 2 columns, say weather temperature per hour - it would be good to have an analysis code that can check the data changing trend and return some result.
Say, "Temperature is rising during 5 hours", or "Warning: sudden freeze for -20 degrees during 5 hours !" ...
According to my knowledge no. You will have to google for ways to calculate mathematical trends or best fits. In the university the only analysis for best fit they taught us was mean squares. Please also note that according to the number of points in chart and position of each point in graph (as it is logical - f.e. the ten first points or the ten last) this best fit line changes. I get the feeling though that this is not what you need.
According to my knowledge no. You will have to google for ways to calculate mathematical trends or best fits. In the university the only analysis for best fit they taught us was mean squares. Please also note that according to the number of points in chart and position of each point in graph (as it is logical - f.e. the ten first points or the ten last) this best fit line changes. I get the feeling though that this is not what you need.
Dim SubIntervals_qty as int = 10 'the source period is divided into this number parts [ i] (iterable) to compare them
Dim OverallAVG as float 'average Y-value of the whole period
Dim DeltaYPercent as Int = 0.2 'allowed Y-range
Rising trend with max Y-value: if AVG(Y)[i+1] >= AVG(Y)[ i]
Falling trend with min Y-value: if AVG(Y)[i+1] <= AVG(Y)[ i]
Wobbling around a middle Y-value: if AVG(Y)[ i] >= OverallAVG * (1-DeltaYPercent) and AVG(Y)[ i]<= OverallAVG * (1 + DeltaYPercent)
Existing maximum during this period at X point with Y-value: .... need to think
Existing minimum during this period at X point with Y-value .... need to think
I am not familiar with mathematical trend analysis and I thought that this would help you. Maybe a best fit in a rolling mean (as @aeric already suggested) chart would do the job?
Something is got ready... initial version. BTW, the map from file B4A and B4J are reading by different way , sorting.
Welcome to test and prepare some new .csv files for testing.
Hunt around the meteorology part of the Web - there are many weather station installs with software and graphs that would do this. But IMHO a decent graph presentation would do the same thing. I have my own weather site and the graphs do the trick. But if you want to send a notice to users or just have a text based weather thingy - the Met guys will have something.
What you're asking about seems to be Time Series Analysis there are books and books about that in the climate literature...
Google is your friend for that.