Plots[nIndicator].Name = name + " line";
If there is no better way, then please file a bug that this does not work.
Absent this capability, all I can do is present a generic name in the Data Box -- not the end of the world, but also not all that nice. Note that this has to be recognized after OnStartUp(), because that is the soonest it is logically possible to set it.
What does happen is that if the user brings the configuration dialog up again, the name changes to the one I set. That is way too late -- the name needs to get picked up after OnStartUp(). I am sure that the system is functioning "as designed" -- I am calling that design into question. OnStartUp() is the first chance I have to respond to any user configuration changes, and I do. The system needs to notice that right away, not some time later.
Speaking of design, perhaps the problem is that Data Box is being controlled as a side effect of other changes, rather than allowing the indicator direct access to Data Box to make the necessary changes. Running things based on side effects is usually tricky, and often not the best design.
--EV


Comment