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

Heat map axis properties overwritten #1831

Open
BMaj7 opened this issue Feb 28, 2025 · 1 comment
Open

Heat map axis properties overwritten #1831

BMaj7 opened this issue Feb 28, 2025 · 1 comment

Comments

@BMaj7
Copy link

BMaj7 commented Feb 28, 2025

Axis labels overwritten
I have used the example of basic heat map which worked fine during development in a standalone app. I added SyncContext for live data update. After moving the exact same code into my app, the axis labels are overwritten with default values.
In fact, any modifications of the axis are ignored. They show as if no axis were specified - all default values.
What may cause such a behavior?

Expected behavior
These are the given labels:

public ICartesianAxis[] X_HM { get; set; } = [ new Axis { Labels = ["", "63", "62", "61", "60", "59", "58", "57", "56", "55", "54", "53", "52", "51", "50", "49", "48", "47", "46", "45", "44", "43"] } ]; public ICartesianAxis[] Y_HM { get; set; } = [ new Axis { Labels = ["", "63", "42", "21"] } ];

Screenshots
This is what is shown:
Image

Additional context
Target framework is net8.0

@beto-rodriguez
Copy link
Owner

Hello!

It seems an error on your binding, ensure the axes are binded properly to the chart.

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