MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / GetNameWithTime

Method GetNameWithTime

Explore/ConditionalNewView.cpp:354–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354wxString ConditionalNewCanvas::GetNameWithTime(int var)
355{
356 if (var < 0 || var >= (int)var_info.size()) return wxEmptyString;
357 if (var_info[var].is_hide) return "N/A";
358
359 wxString s(var_info[var].name);
360 if (var_info[var].is_time_variant) {
361 s << " (" << project->GetTableInt()->GetTimeString(var_info[var].time);
362 s << ")";
363 }
364 return s;
365}
366
367void ConditionalNewCanvas::NewCustomCatClassifVert()
368{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
GetTimeStringMethod · 0.45
GetTableIntMethod · 0.45

Tested by

no test coverage detected