Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MinLimit and MaxLimit behavior #1720

Open
jaeaton opened this issue Dec 5, 2024 · 1 comment
Open

MinLimit and MaxLimit behavior #1720

jaeaton opened this issue Dec 5, 2024 · 1 comment
Labels
not a bug question Further information is requested

Comments

@jaeaton
Copy link

jaeaton commented Dec 5, 2024

Describe the bug
When setting moth MinLimit and MaxLimit the initial plot is windowed to those values. The plot does not then scale to the actual values plotted. This could be my misunderstanding of these properties.

To Reproduce
Steps to reproduce the behavior:

  1. Set up YAxes
  2. setup new Axis
  3. Add MinLimit and MaxLimit Values
  4. Plot

Expected behavior
These values would control the bounds of plotting rather than the displayed view.

Screenshots
MinLimit and MaxLimit set
image
MinLimit and MaxLimit commented out.
image

Desktop (please complete the following information):

  • OS: Windows
  • Avalonia
  • Version 2.0.0 RC4

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@beto-rodriguez
Copy link
Owner

beto-rodriguez commented Dec 24, 2024

Hello

I am sorry, I think there is a confusion here, that is the expected behavior of these properties, from docs:

Gets or sets the maximum value visible in the axis, any point greater than this value will be hidden, set it null to use a value based on the greater value in the chart.

I am afraid that I don't completely understand your excepted result, could you elaborate on the result you were expecting?

To remove the limits, just set them back to null.

@beto-rodriguez beto-rodriguez added not a bug question Further information is requested labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not a bug question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants