Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created a tool to view and export all data points shown on the plot. As of right now, the method of opening the tool is just a button on the top left of the main display labeled "Data Insight Tool". This should probably be moved somewhere else, but I'm not sure where.
The widget consists of 4 main widgets:
a. Only shows PVs for ArchiverPlotCurveItems (does not work for FormulaCurveItems yet)
a. Useful for if the range on the plot's x-axis changes. Prompt's data fetching as needed.
a. Prompts user to select a file and format to write the data to.
b. Allows for .csv, .mat, & .json as of right now
a. Shows all the data as well as its source (live or archive)
b. The leftmost column is the datetime in ISO 8601 format. This column is frozen so that it is always shown, regardless of how far right the user scrolls
The widget only shows data for one curve at a time, but users can open multiple instances of this tool to see data for multiple curves in separate windows.
Future development: