 		
 		public const vars:LinkableHashMap = newLinkableChild(this,LinkableHashMap);
 		public const drawScript:LinkableFunction = registerLinkableChild(this, new LinkableFunction(defaultScript, false, true));
-		
-		// for use inside scripts
-		private var _locals:Object = {};
-		public function get locals():Object { return _locals; }
-		
+
 		public const dataBounds:Bounds2D = new Bounds2D();
 		public const screenBounds:Bounds2D = new Bounds2D();
 		public const buffer:GraphicsBuffer = new GraphicsBuffer();

		public const textGraphics:TextGraphics = new TextGraphics();
		public const canvas:Canvas = new Canvas();
		public var keys:Array;
		
		public function getSelectableAttributes():Array
		{

					PlotterUtils.clearBitmapData(bitmap);
				}
				
				// reset locals when script changes
				if (!locals || scriptChanged)
					locals = {};
				
				// when the vars hash map changes, get the keys from all the columns in it
				if (varsChanged)
					keys = ColumnUtils.getAllKeys(vars.getObjects(IKeySet));
