Fix vtkPlotBar::GetBounds logic when log scale is enabled
- address paraview/paraview#22733 - This commit fixes the logic in the `vtkPlotBar::GetBounds(double*, bool unscaled)` method to scale the bounds only if `unscaled` is false. Previously, it returned unscaled bounds even when `unscaled` was false and returned scaled bounds when `unscaled` was true.
Showing
- Charts/Core/Testing/Cxx/CMakeLists.txt 1 addition, 0 deletionsCharts/Core/Testing/Cxx/CMakeLists.txt
- Charts/Core/Testing/Cxx/TestChartLogScaleUpdates.cxx 87 additions, 0 deletionsCharts/Core/Testing/Cxx/TestChartLogScaleUpdates.cxx
- Charts/Core/Testing/Data/Baseline/TestChartLogScaleUpdates.png.sha512 1 addition, 0 deletions...Testing/Data/Baseline/TestChartLogScaleUpdates.png.sha512
- Charts/Core/vtkPlotBar.cxx 3 additions, 3 deletionsCharts/Core/vtkPlotBar.cxx
- Documentation/release/dev/fix-vtkPlotBar-GetBounds.md 4 additions, 0 deletionsDocumentation/release/dev/fix-vtkPlotBar-GetBounds.md
Loading
Please register or sign in to comment