Skip to content

Conversation

@agarny
Copy link
Contributor

@agarny agarny commented Dec 3, 2025

Fixes #302.

Copilot AI review requested due to automatic review settings December 3, 2025 05:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements axis labeling for graph panels by reading axis title information from UI JSON files. The implementation only displays axis titles when a single plot is shown, using Plotly's automargin feature to dynamically handle spacing requirements.

  • Added axisTitle property to the IGraphPanelPlotData interface
  • Updated margin configuration to use automargin: true with zero margins for dynamic spacing
  • Modified SimulationExperimentView to pass axis title data from UI JSON to graph components

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/renderer/src/components/widgets/GraphPanelWidget.vue Added axis title support to the graph panel widget, including interface updates, conditional title retrieval for single plots, and Plotly configuration changes for automatic margin calculation
src/renderer/src/components/views/SimulationExperimentView.vue Updated plot data structure to include axis titles from UI JSON and added flex layout styling for multiple graphs
src/renderer/package.json Version bump to 0.20251203.4
package.json Version bump to 0.20251203.4

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agarny agarny merged commit dc44dea into opencor:main Dec 3, 2025
14 checks passed
@agarny agarny deleted the issue302 branch December 3, 2025 05:56
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

Successfully merging this pull request may close these issues.

Label the axes using the information in a JSON UI file

1 participant