public override void onMouseUp(int x, int y)
        {
            if (viewState == VIEWSTATE_1_NHOMNGANH && chartG != null)
            {
                chartG.onMouseUp(x, y);
                return;
            }
            for (int i = 0; i < mButtonPositions.size(); i++)
            {
                Rectangle rc = (Rectangle)mButtonPositions.elementAt(i);
                if (rc.Contains(x, y))
                {
                    mPeriod = mPeriods.elementAt(i);

                    doCalcChanged();
                    return;
                }
            }

            for (int i = 0; i < mChanges.size(); i++)
            {
                GroupChanges gc = (GroupChanges)mChanges.elementAt(i);
                if (x >= gc.x && x <= gc.x + gc.w &&
                    y >= gc.y && y <= gc.y + gc.h)
                {
                    stShareGroup g = gc.group;
                    showDetailOfGroup(g);
                }
            }
        }