Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show difference in graphs for data of "unfinished periods" and "complete periods" #10291

Closed
hpvd opened this issue Jul 12, 2016 · 10 comments · Fixed by #18086
Closed

Show difference in graphs for data of "unfinished periods" and "complete periods" #10291

hpvd opened this issue Jul 12, 2016 · 10 comments · Fixed by #18086
Assignees
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@hpvd
Copy link

hpvd commented Jul 12, 2016

Graphs show data of of "unfinished periods" and "complete periods" in same way.*

Since imho comparison of data of "unfinished periods" with "complete periods" does not make big sense, there should be visiualization for the difference to trigger people to be aware of this problem
One idea is not connecting the data point of "unfinished period" to the others before even this period is finished.
This may look like this:
2016-07-08_10h38_37

*why are there unfinished periods?
When comparing data e.g. number of visits, entry pages etc
with data of day before there is a problem:
when checking earlier than 23:59
there is always a difference because
the period taken into account is shorter
than the complete day before
and with this not all "things" of this day has already happened.

An example:
Looking at data at 9:00 in the morning:
actual data is taken from 0:00 to 9:00 = 9h
the data for comparison form 0:00 to 0:00 = 24h

This issue is an extract of
"comparison of data of "unfinished periods" with "complete periods" does not make big sense e.g. in widget" #10282
which addresses problem in general for data shown in table and in graphs

@hpvd
Copy link
Author

hpvd commented Jul 12, 2016

one other idea was to connect the data point of unfinished period with a dashed/interrupted line

but this approach would be much more "costly" to make it good looking and compatible at all places where graphs are used/shown...

so no connection at all should be fine :-)

@hpvd
Copy link
Author

hpvd commented Jul 13, 2016

another example:
2016-07-13_10h45_44

a possible second step:
maybe one can show even an estimated forecast, e.g. like this?

2016-07-13_10h45_441

@mattab mattab added this to the Mid term milestone Jul 15, 2016
@mattab mattab added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Jul 15, 2016
@tsteur
Copy link
Member

tsteur commented Jul 30, 2016

@mattab would be nice to tackle this one at some point as it's always "irritating" for unfinished periods. Maybe there is a way to show the last dot and last line in a light red or something. On hover it could say the day is not yet finished but not sure how complicated it is to implement. Would be useful especially since we want to show more of such graphs.

@johannnson
Copy link

This would be great, also at the top dashboard where the data of the unfinished day is compared to the completed day.

screenshot-webanalytik oeh ac at 2016-08-06 15-29-32

@mattab
Copy link
Member

mattab commented Aug 16, 2016

Added Major tag and moved into 3.0.0 milestone so we keep an eye on this important issue 👍

see also #6784

@mattab mattab modified the milestones: 3.0.0, Mid term Aug 16, 2016
@mattab mattab added the Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. label Aug 16, 2016
@tsteur
Copy link
Member

tsteur commented Jul 22, 2021

Before working on this need to clarify with @mattab how to solve this problem. Related also #6784 which may need similar solution.

@tsteur tsteur added the c: Onboarding For issues that make the experience of getting Matomo up and running better. label Jul 22, 2021
@mattab
Copy link
Member

mattab commented Sep 27, 2021

In an ideal world, we would maybe show the forecast line, but this could make the whole issue a lot more complex and time consuming.
So instead maybe we could first start by putting the last section of the line graph into a dash line, indicating to the user that there is something special about this last data point? That might be good enough to remove the "shock" of seeing the data point way down.

@sgiehl
Copy link
Member

sgiehl commented Sep 29, 2021

That might actually now be easy as our chart libs don't support different looks for the same chart line. Not sure if adding a separat chart line for the last point only would work easily though.

@sgiehl
Copy link
Member

sgiehl commented Oct 17, 2021

@tsteur Was there a new issue created for implementing this in ImageGraph also (as discussed in #18086), or shall we keep this one open for that?

@tsteur
Copy link
Member

tsteur commented Oct 18, 2021

created #18169 . I wouldn't have created one and just waited until someone creates it as we likely won't work on it anytime soon anyway.

@justinvelluppillai justinvelluppillai changed the title make a difference in graphs for data of "unfinished periods" and "complete periods" Show difference in graphs for data of "unfinished periods" and "complete periods" Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants