Re: is _view.trailSet.newSegment(); working for array set? -
Francisco Esquembre
237 Posts
Dear LooKang,
The newSegment() function works for trail sets too, but on an individual basis. Hecnce, you must provide the index of the rail in the set for which you want a new segment. As in:
_view.trailSet.newSegment(0); // New segment in the first trail of the set
Of course, a for loop can be used to create a new segment in all the trails of the set.
Re: Re: Re: Re: Re: Re: is _view.trailSet.newSegment(); working for array set? -
lookang
245 Posts
Try this https://www.dropbox.com/s/5dtz6iahw4v9l06/ejss_src_SHM04.zip?dl=0
In addition. The other bug I notice 1 trail that t>0 active seems to experience I bigger gap than t>0. 2 the CSS used to make invisible the panel is not working as previous versions of ejss was able to do.
Re: Re: Re: Re: Re: Re: Re: Re: is _view.trailSet.newSegment(); working for array set? -
lookang
245 Posts
dear prof,
thank for the new link to EJSS.
i compile some files and found a bug
the line _view.plottingPanel.setProperty("CSS",{ "display" : "none" }); which i used a checkbox to action on and off, it used to work in EJS_5.1_141205 but not for EJS_5.1_150125, EJS_5.1_150210(with the error of the right panel solved already), EJS_5.1_150222.
hope it can help in your newer releases of the cool EJSS tool :)