> ChazZ S wrote:

>> First Question:
>> I haven't quite figured out how one can toggle the "showValues" feature 
>> on and off on the fly.  I would ultimately like to click on a 
>> control(checkbox or something) to toggle the showValues.  I tried to 
>> access a plot's plotInfos, after creating and populating the plot, to 
>> change the showValues property to no avail.
>>
>> ['plot' created via TimePlot.create()]
>> ...
>> plot._plotInfos[0]['showValues'] = enable;
>> this.plot.update();
>> this.plot.repaint();
>>
>> Looking in the JSdoc i did not see an obvious way to change plotInfos 
>> without creating a whole new plot.
> 
> Oh, I see. Yeah, I didn't think of that case: the Timeplot.Plot makes a 
> local copy of that value at initialization and then forgets to check back.
> 
> It should be an easy fix, I'll do that right after this.

I just fixed that in the current live Timeplot. See this timeplot for an 
example on how to use it:

  http://simile.mit.edu/timeplot/examples/bush/index.html

-- 
Stefano Mazzocchi
Digital Libraries Research Group                 Research Scientist
Massachusetts Institute of Technology
E25-131, 77 Massachusetts Ave               skype: stefanomazzocchi
Cambridge, MA  02139-4307, USA         email: stefanom at mit . edu
-------------------------------------------------------------------

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to