public Pad(Chart chart, int x1, int x2, int y1, int y2)
{
this.chart = chart;
this.marginLeft = this.marginRight = 0;
this.onPrimitive = false;
this.outlineEnabled = false;
this.outlineRectangle = Rectangle.Empty;
DrawGrid = true;
SetCanvas(x1, x2, y1, y2);
Primitives = ArrayList.Synchronized(new ArrayList());
this.simplePrimitives = new ArrayList();
this.rangeList = new SortedRangeList();
this.intervalLeftList = new SortedRangeList();
this.intervalRightList = new SortedRangeList(true);
}