Fastline not drawing correctly.
Posted: Tue Jun 27, 2006 4:44 pm
Fastline series will not draw to the edge of the graph when panning. After running the example code slowly pan the series to the right and you will see one or both of the series lines stop short of the edge. In some cases its a very wide gap. Here is the example:
[/img]
Code: Select all
public Form1()
{
InitializeComponent();
this.tChart1.Aspect.View3D = false;
double[] x = {20000,3556.56,632.456,112.468,20};
double[] y1 = { -90.791, -90.687, -90.562, -90.592, -90.556 };
double[] y2 = {-90.948, -90.67, -90.431, -90.463, -90.507 };
this.tChart1.Axes.Bottom.SetMinMax(20, 20000.0);
this.tChart1.Axes.Left.SetMinMax( -95, -80);
this.fastLine1.Add( x, y1 );
this.fastLine2.Add( x, y2);
}