Skip to content

Y-cursors now handle switching of log scale correctly.

Labels in log-scale for Y-cursors also fixed.

The change introduces and abstract cursor value member that represents the value. It seems that the InfiniteLine object used to draw the cursor takes 'log(value)' as it's position when the Y is log scale, not 'value'. It's therefore not a good store for the desired value for the cursor.

In this change the direction flows from value => cursor position, unless the user drags a cursor, in which case it flows the other way around.

Also fixes a similar but unrelated issue where export of Y-scale was incorrect.

Closes #328 (closed).

Merge request reports