*
* @param iDataSeries
******************************************************************************************/
private void processDataSet( IDataSeries iDataSeries )
{
IAxisPlotDataSet iAxisPlotDataSet;
Iterator iterator = iDataSeries.getIAxisPlotDataSetIterator();
//LOOP
while( iterator.hasNext() )
{
iAxisPlotDataSet = ( IAxisPlotDataSet ) iterator.next();
if( iAxisPlotDataSet.getChartType().isStacked() )
{
//---StockChartDataSet is NEVER stacked!!!!
StackedDataProcessor.processData( ( IAxisChartDataSet ) iAxisPlotDataSet, this );
}
else
{
//---stock charts dont fit well here as the data comes in structured.
//---in this case only care about the high and low; no need to search close, open, volume
if( iAxisPlotDataSet.getChartType().equals( ChartType.STOCK ) )
{
StockDataProcessor.processData( ( IStockChartDataSet ) iAxisPlotDataSet, this );
}
else
{