SRGDisplayBase::Refresh
voidSRGDisplayBase::Refresh(void)
Tidies the display after changing from one type or style to another
Defined in: SRGDisplayBase.cpp
Remarks
Certain graph types will autonomously change type in case of incorrect or invalid data. For example, pie charts which cannot display negative numbers change into bar charts if negative data is in the group and index range of the display. Refresh() cleans up the label blocks and sets the m_SignificantChange flag to ensure that the display starts fresh after such circumstances. You must also call this routine if you change from one graph type to another. Otherwise the display will assume that data structures, labels, and flags from the old setup apply to the new one.