You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple issue but a one that is likely to generate a lot of confusion for newcomers to Evidence.
In this issue, I report that a ReferenceLine, unless fully contained in the window of the ScatterPlot, seem not to be displayed at all. This is particularly inconvenient (and can be very confusing) with things like regression lines, since the regression line might not completely conform to the x and y ranges of the scattered data points.
Tip
I also want to add that I was one of those users who assumed that an annotation line is an infinite line, rather than a line segment. It is a potential point of confusion depending on the background of the user. Those coming from a mathematical background will likely expect the line to be infinite on both ends. This behaviour can be provided by offering slope and intercept to replace x, y, x2 and y2 in the use cases that favour such a specification.
An example is shown in the steps to reproduce below.
Steps to Reproduce
Before adjusting the y range: (the annotation line is completely hidden, even though most of it lies within the window of the ScatterPlot)
After adjusting the y range: (by using yMax=10)
Logs
NA
System Info
NA
Severity
annoyance
Additional Information, or Workarounds
In this example we use two data sources for the scattered points and the regression line:
Describe the bug
Hello!
This is a simple issue but a one that is likely to generate a lot of confusion for newcomers to Evidence.
In this issue, I report that a ReferenceLine, unless fully contained in the window of the ScatterPlot, seem not to be displayed at all. This is particularly inconvenient (and can be very confusing) with things like regression lines, since the regression line might not completely conform to the x and y ranges of the scattered data points.
Tip
I also want to add that I was one of those users who assumed that an annotation line is an infinite line, rather than a line segment. It is a potential point of confusion depending on the background of the user. Those coming from a mathematical background will likely expect the line to be infinite on both ends. This behaviour can be provided by offering
slopeandinterceptto replacex,y,x2andy2in the use cases that favour such a specification.An example is shown in the steps to reproduce below.
Steps to Reproduce
Before adjusting the y range: (the annotation line is completely hidden, even though most of it lies within the window of the ScatterPlot)
After adjusting the y range: (by using yMax=10)
Logs
System Info
Severity
annoyance
Additional Information, or Workarounds
In this example we use two data sources for the scattered points and the regression line:
This means, that we cannot use
x,y,x2andy2from the regression query to definexMin,xMax,yMin, andyMax.