void gpLayer::Refresh() { m_refreshNeeded = false; RefreshChart(); RefreshToolTip(); m_sameFormatAsPreviously = true; }
void __fastcall Tfrm_BelongFunction::FormShow(TObject *Sender) { st_function->Cells[0][0]="Function expression"; st_function->Cells[1][0]="Floor level"; st_function->Cells[2][0]="Roof Level"; Initial(); RefreshChart(); }
bool gpLayer::SetChartKind(gpCHART_KIND kind) { //if(!IsSupported(kind)) return false; if(!IsChartTypeEnabled(kind)) return false; gpChart_kind = kind; gpYaxis_type = gpAXIS_DEFAULT; gpXaxis_type = gpAXIS_DEFAULT; m_sameFormatAsPreviously = false; RefreshChart(); RefreshLabels(); //last refresh tooltip for current view /// @note maybe there is case, when tooltip /// don't want refresh to this kind of chart view... /// example with fft, wan't show tips before fft.. RefreshToolTip(); return true; }
void __fastcall Tfrm_BelongFunction::sp_refreshClick(TObject *Sender) { RefreshChart(); }
void __fastcall Tfrm_BelongFunction::pb_functionPaint(TObject *Sender) { RefreshChart(); }