12-19-2014 12:49 AM
hn_sofec ha scritto:
Looked into the .dat file and can see the numbers. I suppose they are separated by the tab character? Just curious why you did not use the comma ( , ) and have it as a CSV. I come from the C# background, so please help me.
The reason I don't use commas is that in some locales comma is used as the decimal separator, so I adopted as a rule to use tabs or semicolons instead
12-19-2014 01:58 PM
Roberto,
Could you point out to me where in the code you make Main_vr and Main_s's components hidden or transparent?
12-22-2014 11:06 AM
Alright,
I figured out how to make the elements invisible. I now have a code that uses a Random Number Generator and plot something on a chart.
Question:
How do I make a certain trace visible / invisble while it is being continuous plotted?
12-23-2014 02:13 AM - edited 12-23-2014 02:14 AM
Sorry for not responding you before. It's been a while since I have published that example so I had to revisit the code myself
I suppose you have already found HighlightGraphs function I use to evidence individual controls of hide them; consider that this is a provision for the sample only: I normally simply paint in the UIR editor all inactive graphs with transparent color so you can see the axes and nothing else of them.
Showing / hiding a trace in a strip chart can be obtained with SetTraceAttribute (panelHandle, PANEL_CHART, 1, ATTR_TRACE_VISIBLE, x); trace is shown with x=1, hided with x=0.
12-23-2014 07:58 AM
Thanks so much Roberto.