MCPcopy Create free account
hub / github.com/Kitware/VTK / GetBarLabel

Method GetBarLabel

Rendering/Annotation/vtkBarChartActor.cxx:609–617  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

607
608//------------------------------------------------------------------------------
609const char* vtkBarChartActor::GetBarLabel(int i)
610{
611 if (i < 0 || static_cast<unsigned int>(i) >= this->Labels->size())
612 {
613 return nullptr;
614 }
615
616 return this->Labels->at(i).c_str();
617}
618
619//------------------------------------------------------------------------------
620int vtkBarChartActor::GetNumberOfBarLabels()

Callers 1

PlaceAxesMethod · 0.95

Calls 3

sizeMethod · 0.45
c_strMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected