This project is read-only.

Graph suddenly disappears while zooming/scrolling

Jan 9, 2014 at 9:49 AM
I have a serious problem when scrolling and zooming a graph.

Up to a specific zoom range, everything works fine. Zooming, Scrolling, Panning - everything works as it should.

Zooming in one step more somehow breaks the graph. When I pan on the x-axis, the graph suddenly disappears. Panning more on the x-axis, lets the graph flicker.
In some situations, I use a vertical line cursor. When the graph is broken, I can use the LineCursor to "erase" the graph with the cursor.

Minimizing and restoring or resizing the window, where the graph is displayed will redraw the graph so it is visible again, but the problem remains until I zoom out one step.

This only happens when the zoom level exceeds a specific level and it seems the graph is then not drawn anylonger.
Is there any fix or workaround for this?
Oct 23, 2015 at 11:57 AM
Hello cactusjack, I've just found a way to fix that issue.

It's on the file LineGraph.cs, go to the method OnRenderCore and replace the following line from
context.BeginFigure(FilteredPoints.StartPoint, false, false);
to
context.BeginFigure(FilteredPoints.StartPoint, true, false);
It's works fine for me now....

It's maybe too late for you but maybe this reply can help anyone else...