Bug 400749

Summary: x-axis interval mangles the diagram display
Product: [Applications] LabPlot2 Reporter: uwestoehr <uwestoehr>
Component: frontendAssignee: Stefan Gerlach <stefan.gerlach>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: stefan.gerlach
Priority: NOR    
Version First Reported In: latest   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of the problem

Description uwestoehr 2018-11-06 14:05:13 UTC
Created attachment 116126 [details]
screenshot of the problem

- create a new table with 2 columns
- fill the table columns with row numbers
- create a new custom fit
- use as fit function this one
a*x
- set fit and evaluation interval x:10 - 25 
- set start parameter a to '2'
- calculate the fit

the x-axis runs from 0 - 100 (see also bug 400748). I want to change the x-axis to run from 10 - 25, therefore

- click in the plot diagram on the x-axis and set there '10' as start and '25' as end value

result: the x-axis does no longer use the full width of the diagram, see the attached screenshot.
Comment 1 uwestoehr 2018-11-09 02:44:53 UTC
Still in 2.6.0RC2.
Comment 2 Stefan Gerlach 2018-11-10 10:07:37 UTC
This is expected behavior. An axis can be shorter than the shown plot range. You have to change the x range of the plot to get the expected result.