private PageFunctionGraph createFunctionGraph() {
			PageFunctionGraph g = new PageFunctionGraph();
			g.setPage(page);
			if (uid != null) {
				g.setUid(uid);
				uid = null;
			}
			g.setChangable(page.isEditable());
			if (width > 0 && height > 0) {
				g.setPreferredSize(new Dimension((int) width, (int) height));
				width = height = 0;
			}
			if (borderType != null) {
				g.setBorderType(borderType);
				borderType = null;
			}
			if (!opaque) {
				g.setOpaque(false);
				opaque = true;
			}
			else {
				g.setOpaque(true);
				if ((argb1 | ARGB_NOT_SET) != ARGB_NOT_SET) {
					g.setBackground(new Color(argb1));
					argb1 = ARGB_NOT_SET;
				}
			}
			if (dataWindow_xmin < dataWindow_xmax && dataWindow_ymin < dataWindow_ymax) {
				g.setScope((float) dataWindow_xmin, (float) dataWindow_xmax, (float) dataWindow_ymin,
						(float) dataWindow_ymax);
				dataWindow_xmin = dataWindow_xmax = dataWindow_ymin = dataWindow_ymax = 0.0;
			}
			if (dataSourceList != null && !dataSourceList.isEmpty()) {
				for (DataSource ds : dataSourceList)
					g.addDataSource(ds);
				dataSourceList.clear();
			}
			return g;
		}