------------------------------------------------------------------------------
| 658 | |
| 659 | //------------------------------------------------------------------------------ |
| 660 | const char* vtkPieChartActor::GetPieceLabel(int i) |
| 661 | { |
| 662 | if (i < 0 || static_cast<unsigned int>(i) >= this->Labels->size()) |
| 663 | { |
| 664 | return nullptr; |
| 665 | } |
| 666 | |
| 667 | return this->Labels->at(i).c_str(); |
| 668 | } |
| 669 | |
| 670 | //------------------------------------------------------------------------------ |
| 671 | int vtkPieChartActor::GetNumberOfPieceLabels() |