Share

NPlot Charting Library

Tracker: Bugs

5 Clipping Error in Step Plots - ID: 2737577
Last Update: Tracker Item Submitted ( phatoni )

The same clipping problem someone stated before applies also to StepPlots.
If one point is on the left but outside the screen area and the other on
the right but out side the screen area, the chart is not drawn.

I would suggest to change the clipping algorithm in StepPlots.cs to
something like:

// do horizontal clipping here, to speed up
if ((p1.X < leftCutoff && p2.X < leftCutoff && p3.X < leftCutoff) ||
(p1.X > rightCutoff && p2.X > rightCutoff && p3.X > rightCutoff ))
{
continue;
}

This works for me.


Sebastian Hiller ( phatoni ) - 2009-04-06 14:08

5

Open

None

Nobody/Anonymous

General

0.9.10.0

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.