Fix for Bug 456362 - Error occurs when set derived measure as "Show as
chart" in Show/Hide measure dlg and preview in web viewer

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>