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

LineGraph loses items after setting custom scaling #1912

Open
NuclearFizzler opened this issue Feb 22, 2025 · 2 comments
Open

LineGraph loses items after setting custom scaling #1912

NuclearFizzler opened this issue Feb 22, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@NuclearFizzler
Copy link
Contributor

Description
After setting custom min/max Y-values to override automatic scaling, the graphed items disappear from the graph.

To Reproduce
Steps to reproduce the behavior:

  1. Right click on an active graph in Telemetry Viewer and select 'Edit Graph (id)'
  2. Click on 'Scale / Lines' and set a value in the 'Min Y' or 'Max Y Axis' fields
  3. Select OK
  4. Items disappear from the graph
  5. Verify by going to 'Edit Graph' > 'Items;' no items appear in the list
  6. Related error appears in Developer Console

Expected behavior
Graph items should remain on the graph after custom scaling is set.

Screenshots
Sample graph from the Demo
Image

Scaling set in Edit Graph menu
Image

Items disappear
Image

Error in Developer Console
Image

Environment (please complete the following information):

  • OS: Windows 11 Docker Desktop with WSL2 integration
  • OpenC3 COSMOS Version: latest
  • Browser: Firefox
@jmthomas jmthomas added the bug Something isn't working label Feb 23, 2025
@NuclearFizzler
Copy link
Contributor Author

What tools does OpenC3 use to debug Vue? I've been trying to set up Vue DevTools via my browser, but attempting to run it in COSMOS keeps returning "Devtools inspection not available." I've tried modifying the Vite config to allow devtools, but there seems to be no effect.

@jmthomas
Copy link
Member

We serve a local copy of the tool in question by following this guide: https://docs.openc3.com/docs/development/developing#running-a-frontend-application. Then we just use the local console and dev tools. Note that you should also run a yarn serve in the openc3-vue-common directory if you're using any of those files (you probably are).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants