Bug 207268 Add visibility option for plot within axes
For chart with axes, we should make plot within axes invisible. Meantime, other plots, such as axes, legend and title, should be visible. This enhancement doesn't include UI change, and it is required for cross tab integration.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
{
						return currentIndex - count;
					}
				}
			}
			Axis cax = getAxis( );
			int iDefintionIndex = cax.getSeriesDefinitions( ).indexOf( sd );
			int iDefinitionCount = cax.getSeriesDefinitions( ).size( );
			if ( iDefinitionCount > 0 )
			{
				for ( int i = iDefintionIndex - 1; i >= 0; i-- )
				{
					sd = (SeriesDefinition) cax.getSeriesDefinitions( ).get( i );
					int runtimeSeriesCount = sd.getRunTimeSeries( ).size( );
					for ( int j = runtimeSeriesCount - 1; j >= 0; j-- )
					{
						count++;
						if ( ( (Series) sd.getRunTimeSeries( ).get( j ) ).isVisible( ) )
						{
							return currentIndex - count;
						}
					}
				}
			}
		}
		return -1;
	}
	/**
	 * @return Returns if current rendering is the last series in associated
	 *         axis.