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

Method StackPlotUnder

Charts/Core/vtkChartXY.cxx:1477–1487  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1475
1476//------------------------------------------------------------------------------
1477vtkIdType vtkChartXY::StackPlotUnder(vtkPlot* plot, vtkPlot* above)
1478{
1479 vtkIdType plotIndex = this->GetPlotIndex(plot);
1480 vtkIdType aboveIndex = this->GetPlotIndex(above);
1481 int corner = this->GetPlotCorner(plot);
1482 if (corner < 0 || corner >= 4 || corner != this->GetPlotCorner(above))
1483 {
1484 return plotIndex;
1485 }
1486 return this->ChartPrivate->PlotCorners[corner]->StackUnder(plotIndex, aboveIndex);
1487}
1488
1489//------------------------------------------------------------------------------
1490void vtkChartXY::SetShowLegend(bool visible)

Callers

nothing calls this directly

Calls 3

GetPlotIndexMethod · 0.95
GetPlotCornerMethod · 0.95
StackUnderMethod · 0.80

Tested by

no test coverage detected