src/org/tiefaces/components/websheet/utility/ColorUtility.java
private static XColor getXColorWithAutomaticFill(final int index,
			final ThemesTable themeTable) {

		int reminder = (index + 1) % AUTOCOLORSIZE;
		if (reminder == 0) {
			reminder = AUTOCOLORSIZE;
		}
		String schema = AUTOCOLORNAME + reminder;
		double tint = getAutomaticTint(index);
		return getXColorWithSchema(schema, tint, null, themeTable);
	}
private static XColor getXColorWithAutomaticFill(final int index,
			final ThemesTable themeTable) {

		int reminder = (index + 1) % AUTOCOLORSIZE;
		if (reminder == 0) {
			reminder = AUTOCOLORSIZE;
		}
		String schema = AUTOCOLORNAME + reminder;
		double tint = getAutomaticTint(index);
		return getXColorWithSchema(schema, tint, null, themeTable);
	}
private static XColor getXColorWithAutomaticFill ( final int index , final ThemesTable themeTable ) { int reminder = ( index + 1 ) % AUTOCOLORSIZE ; if ( reminder == 0 ) { reminder = AUTOCOLORSIZE ; } String schema = AUTOCOLORNAME + reminder ; double tint = getAutomaticTint ( index ) ; return getXColorWithSchema ( schema , tint , null , themeTable ) ; }
Get xcolor for automatic fill setting. This is the default setting in
Excel for chart colors. Normally the colors will be accent1 to 7.

@param index
line index.
@param themeTable
theme table.
@return xcolor.
Get xcolor for automatic fill setting . This is the default setting in Excel for chart colors . Normally the colors will be accent1 to 7 .