Commit ead0cd0b authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Updating fitGraphs to zoom to 1*extent of data instead of 1.1*extent.

parent 9e60b9a3
......@@ -244,8 +244,8 @@ void Plot::fitGraphs()
{
qcplot->rescaleAxes(true);
// zoom out a touch to capture begin/end
qcplot->yAxis->scaleRange(1.1, qcplot->yAxis->range().center());
qcplot->xAxis->scaleRange(1.1, qcplot->xAxis->range().center());
qcplot->yAxis->scaleRange(1.0, qcplot->yAxis->range().center());
qcplot->xAxis->scaleRange(1.0, qcplot->xAxis->range().center());
qcplot->replot();
}//Plot::fitGraphs
......@@ -2269,4 +2269,5 @@ void PlotOptionDialog::changePage(
sectionContentWidget->setCurrentIndex( row );
}
} // namespace radix
......@@ -44,6 +44,7 @@ QT_END_NAMESPACE
namespace radix
{
/** namespace Scale Forward declarations */
class Plot;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment