src/org/tiefaces/components/websheet/utility/PicturesUtility.java
public static String generateChartStyle(final Sheet sheet1,
			final FacesCell fcell, final Cell cell, final String chartId,
			final Map<String, ClientAnchor> anchorsMap) {

		ClientAnchor anchor = anchorsMap.get(chartId);
		if (anchor != null) {
			AnchorSize anchorSize = getAnchorSize(sheet1, fcell, cell,
					anchor);
			if (anchorSize != null) {
				return "MARGIN-LEFT:"
						+ String.format("%.2f", anchorSize.getPercentLeft())
						+ "%;MARGIN-TOP:"
						+ String.format("%.2f", anchorSize.getPercentTop())
						+ "%;width:"
						+ String.format("%.2f",
								anchorSize.getPercentWidth())
						+ "%;height:135%;";
			}
		}
		return "";
	}
public static String generateChartStyle(final Sheet sheet1,
			final FacesCell fcell, final Cell cell, final String chartId,
			final Map<String, ClientAnchor> anchorsMap) {

		ClientAnchor anchor = anchorsMap.get(chartId);
		if (anchor != null) {
			AnchorSize anchorSize = getAnchorSize(sheet1, fcell, cell,
					anchor);
			if (anchorSize != null) {
				return "MARGIN-LEFT:"
						+ String.format("%.2f", anchorSize.getPercentLeft())
						+ "%;MARGIN-TOP:"
						+ String.format("%.2f", anchorSize.getPercentTop())
						+ "%;width:"
						+ String.format("%.2f",
								anchorSize.getPercentWidth())
						+ "%;height:135%;";
			}
		}
		return "";
	}
Generate chart style.

@param sheet1
the sheet 1
@param fcell
the fcell
@param cell
the cell
@param chartId
the chart id
@param anchorsMap
the anchors map
@return the string