                     chartItem.minValue = stackedValue;
                 }
                 xValue += stackedValue;
-                //chartItem.minValue = stackedValue;
                 if (xValue >= 0)
                 {
                     stackedPosYValueDictionary[yValue] = xValue;

                {
                    stackedValue = 0;
                }
                if (xValue == 0)
                {
                    chartItem.xValue = 0;
                    chartItem.minValue = 0;
                }
                else
                {
                    chartItem.xValue = xValue + stackedValue;
                    chartItem.minValue = stackedValue;
                }
                xValue += stackedValue;
                stackedYValueDictionary[yValue] = xValue;
                chartItem.yValue = yValue;
                maxValue = Math.max(maxValue,xValue);
                
                i++;
                cursor.moveNext();              
            }           

                }
                if (xValue == 0)
                {
                    // Do nothing
                }
                else
                {
