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

A vertical axis problem when using contour plot #549

Closed
clisztian opened this issue Oct 10, 2022 · 2 comments
Closed

A vertical axis problem when using contour plot #549

clisztian opened this issue Oct 10, 2022 · 2 comments

Comments

@clisztian
Copy link

When using the contour plots, there seems to be a vertical axis bug when enlarging vertically (which works fine), and then when shrinking back down. To easily reproduce, just try the following with your WaterfallPerformanceSample in your chart.samples.

At first, everything is fine plot/functionality wise when launched. But then vertically increase height of window, then go back down to default size. You'll lose the x-axis. I would expect that the contour chart stretches/shrinks vertically and fits according to the window size, similar to all other chart types, as well as horizontal stretching/shrinking works fine as expected.

Thanks for your help in advance. Fantastic library nonetheless!

Screenshot from 2022-10-10 19-35-28

Environment:

  • OS: [e.g. Ubuntu 20.04]
  • Java version: openjdk 11
  • JavaFx version: 11
  • ChartFx version: [master, 11.2.2, ...]
@wirew0rm
Copy link
Member

Thanks for the report, iirc we have encountered this problem once already ourselfes, iirc it can be circumvented by not adding the color scale (may or may not be an option for you), but I was unsuccessfull in finding the root cause of this layouting problem. I'll have another look as it also relates to #529.

@wirew0rm
Copy link
Member

wirew0rm commented Aug 9, 2023

Seems to be fixed in #592, at least I cannot reproduce the problem in the sample. I'm closing this for now, feel free to retest with main (since we are in preparation for the major x.3 release, there are some changes in eg package names and some things are still moving it might make sense to wait for the release before upgrading) and reopen if the problem is still present.

@wirew0rm wirew0rm closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants