------------------------------------------------------------------------------
| 2513 | |
| 2514 | //------------------------------------------------------------------------------ |
| 2515 | bool vtkChartXY::KeyPressEvent(const vtkContextKeyEvent& key) |
| 2516 | { |
| 2517 | switch (key.GetKeyCode()) |
| 2518 | { |
| 2519 | // Reset the chart axes |
| 2520 | case 'r': |
| 2521 | case 'R': |
| 2522 | this->RecalculateBounds(); |
| 2523 | this->Scene->SetDirty(true); |
| 2524 | } |
| 2525 | |
| 2526 | return true; |
| 2527 | } |
| 2528 | |
| 2529 | const std::vector<vtkContextTransform*>& vtkChartXY::GetTransforms() const |
| 2530 | { |
no test coverage detected