Again, i offer my apologies.  I got impatient (higher ups riding my arse about 
details...) and took it out here, which was the wrong idea.

Unfortunately I do not have any public URLs for you to look at.  I am using 
this lib as a kind reporting mechanism for the desktop end of our application 
OptimalOffice(http://www.logisens.com/optimaloffice).  The user would navigate 
to web page served by desktop app.  Timeplot lives there and is served from 
there.  I can provide screen shots of some visual issues if that is ok; and 
provide code snippets.

I have, however, managed to figure out some of the technical issues i was 
having like the problems i was having with running Timeplot "offline"  turns 
out there was a small logic error in directory structure in build scripts.  As 
of now my outstanding questions involve how i can use Timeplot and work with 
its features, all the while getting a more in-depth education on JavaScript (i 
don't expect to solve JS issues here).

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.

Second Question:
is it possible to set the precision of axis labels?  along the vertical axis i 
some times see "overly precise" values.  for example: "0.90000000000000001"  
anyway I could cut that down to "0.900"?

Third Question:
I am not sure if this is a bug or what.  I have a feature that a plot can "auto 
update".  I do a loadText on the plot's EventSource then an update() and 
repaint() on the plot.  as i do this it seems that the labelling is not getting 
cleared out when repainting.  The times along the bottom appear to stay there 
and new ones drawn in over old ones, becoming a mess.  Same goes with vertical 
axies.  I am not clearing out the EventSource i am simply loading data from the 
time it left off to present, so im effectively adding more data.  I can post 
screen shots of these effects if that would help.
 
Thanks for the help!  i will remember to take my frustrations out on my little 
buddy. :-P http://uploads.ungrounded.net/218000/218014_DAbuddy_latest.swf

-ChazZ

ever wonder if a word, when misused so many times, could lose all of its 
meaning?
now thats ironic...

----- Original Message ----
From: Stefano Mazzocchi <[EMAIL PROTECTED]>
To: General List <[email protected]>
Sent: Thursday, February 14, 2008 4:00:40 AM
Subject: Re: toggling features


ChazZ 
S 
wrote:
> 
>  
Am 
I 
breaking 
some 
kind 
of 
rules 
for 
posting 
here 
or 
am 
I 
just 
asking 
> 
stupid 
questions?  
Am 
I 
posting 
in 
the 
wrong 
place 
for 
help 
questions?
> 
I 
like 
this 
Timeplot 
lib, 
and 
the 
step 
by 
step 
tutorial 
helped 
get 
me 
> 
going, 
but 
for 
some 
of 
the 
more 
"advanced" 
things 
I 
am 
doing; 
things 
get 
> 
a 
little 
bit 
tricky.  
Don't 
get 
me 
wrong, 
I 
do 
search 
the 
mailing 
list 
> 
before 
I 
post, 
but 
most 
of 
the 
time 
the 
results 
are 
source 
control 
> 
commits 
and 
comments 
around 
that, 
which 
are 
not 
much 
help.  
If 
the 
fact 
> 
of 
the 
matter 
is 
that 
I 
am 
"on 
my 
own" 
it 
would 
be 
good 
to 
know 
so 
I 
> 
don't 
waste 
your 
time 
and 
mine 
spamming 
the 
board 
with 
fruitless 
> 
questions. 

ChazZ, 
sorry 
for 
the 
delay 
in 
answering 
your 
questions. 
I'm 
currently 
traveling 
and 
not 
100% 
focused 
on 
answering 
timeplot-related 
questions, 
but 
you're 
not 
doing 
anything 
wrong 
and 
I 
do 
would 
like 
to 
help 
you 
out 
with 
your 
questions.

One 
thing 
that 
would 
help 
me 
to 
help 
you 
would 
be 
to 
post 
a 
URL 
that 
lets 
me 
see 
what 
you're 
trying 
to 
achieve 
so 
that 
I 
can 
read 
the 
code 
and 
understand 
better.

You're 
not 
on 
your 
own, 
just 
that 
we 
are 
juggling 
a 
million 
balls 
and 
the 
same 
time 
and 
timeplot 
is 
just 
one 
of 
them 
(and 
not, 
honestly, 
the 
highest 
priority 
one 
either 
ATM).

Please, 
help 
me 
by 
writing 
an 
email 
with 
the 
list 
of 
questions 
that 
you 
want 
about 
timeplot 
and 
I'll 
do 
my 
best 
to 
answer 
it.

> 
> 
-ChazZ
> 
ever 
wonder 
if 
a 
word, 
when 
misused 
so 
many 
times, 
could 
lose 
all 
of 
its 
> 
meaning?
> 
now 
thats 
ironic...
> 
> 
> 
----- 
Original 
Message 
----
> 
From: 
ChazZ 
S 
<[EMAIL PROTECTED]>
> 
To: 
[email protected]
> 
Sent: 
Monday, 
February 
11, 
2008 
4:22:09 
PM
> 
Subject: 
toggling 
features
> 
> 
> 
I 
have 
been 
playing 
around 
with 
the 
plot 
and 
plot 
info.  
I 
cant 
seem 
to 
> 
find 
a 
way 
to 
dynamicallty 
change 
some 
of 
the 
features 
of 
the 
plot 
> 
infos.  
I 
would 
like 
to 
have 
a 
control 
on 
the 
web 
page 
that 
would 
allow 
> 
a 
user 
to 
turn 
the 
"showValues" 
feature 
on 
and 
off.  
I 
have 
tried 
to 
get 
> 
into 
_plotInfos 
and 
change 
the 
"showValues" 
item 
and 
then 
issue 
a 
> 
repaint 
and/or 
update 
on 
the 
plot 
with 
no 
success.  
Is 
there 
a 
way 
to 
do 
> 
this 
without 
having 
to 
start 
completely 
over 
creating 
the 
plot?
> 
> 
I 
am 
also 
having 
some 
trouble 
getting 
TimePlot 
to 
work 
"offline".  
Data 
> 
plots 
and 
all, 
but 
when 
showValues 
is 
true 
those 
graphics 
dont 
show 
up, 
> 
the 
values 
are 
plain 
text 
on 
the 
left 
side 
of 
the 
plot.  
I 
followed 
the 
> 
"offline" 
instructions 
and 
timeline 
timeplot 
and 
ajax 
are 
all 
in 
their 
> 
right 
places(because 
the 
scripts 
load 
and 
i 
can 
plot) 
but 
the 
showValues 
> 
graphics 
dont 
work 
properly.
> 
> 
thanks
> 
-ChazZ
>  
> 
ever 
wonder 
if 
a 
word, 
when 
misused 
so 
many 
times, 
could 
lose 
all 
of 
its 
> 
meaning?
> 
now 
thats 
ironic...
> 
> 
> 
------------------------------------------------------------------------
> 
Be 
a 
better 
friend, 
newshound, 
and 
know-it-all 
with 
Yahoo! 
Mobile. 
Try 
> 
it 
now. 
> 
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>
> 
> 
> 
-----Inline 
Attachment 
Follows-----
> 
> 
_______________________________________________
> 
General 
mailing 
list
> 
[email protected] 
<mailto:[email protected]>
> 
http://simile.mit.edu/mailman/listinfo/general
> 
> 
> 
------------------------------------------------------------------------
> 
Looking 
for 
last 
minute 
shopping 
deals? 
Find 
them 
fast 
with 
Yahoo! 
> 
Search. 
> 
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
> 
> 
> 
------------------------------------------------------------------------
> 
> 
_______________________________________________
> 
General 
mailing 
list
> 
[email protected]
> 
http://simile.mit.edu/mailman/listinfo/general


-- 
Stefano.

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






      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to