08-25-2016 04:17 PM
I'm trying to delete the 'Plot' from a chart.
The VI containing chart is in 'Edit Mode' and still I'm getting an error (1093).
Please find the attached library containing the VIs (version 2015)
08-25-2016 04:36 PM
Do you want to clear one plot _data_ and keep others?
My guess the only way is programmatic - read history data, replace bad plot with Nans, overwrite history. Different plots can not have different amount of data, Nan only hides it from display.
You can clear all data (Data operations -> Clear Chart)
If you want to delete plot (had 3 plot chart, now have only 2 plot chart), change size of bundle cluster.
LV 2011, can not open your VIs.
08-25-2016 04:42 PM
Thanks for your reply.
Intent is to delete a plot and not hide from being displayed.
For hiding, we can also use: Active Plot >> Plot Visible
Attach is code saved in version 2011.
08-25-2016 05:45 PM
11 plots vi is still 2015 😃
workaround with N element cluster constant wired to chart
08-26-2016 09:18 AM - edited 08-26-2016 09:18 AM
@Alexander_Sobolev wrote:11 plots vi is still 2015 😃
My bad, please find the code saved in 2011.
I checked your solution, but thats not what I'm looking for.
08-26-2016 12:53 PM
It seems to me that chart (graph and wfm) type is determined only by the wire that goes into it. I do not see methods that might affect it (or controls in GUI) - that should be if there was way to work with type directly. Like button add, delete plot in any of the graphs, method to select waveform type (1-D array, 2-D array or waveform(s))
08-26-2016 01:13 PM
I was hoping to wire single channel (scalar, DBL) but no luck.
I'm wondering that, what is the use of Invoke node (Plot >> Delete).