no summary chart for TimeSeries template?

118 views
Skip to first unread message

Siwei Liu

unread,
Aug 19, 2012, 11:19:32 PM8/19/12
to envis...@googlegroups.com
Hello, is there something as simple as a config option or an api call that I can hide or get rid the bottom summary chart on TimeSeries template? I saw some previous posts recommend moving to custom layout for Finance  template, should I do something similar to TimeSeries template as well?

Thx,

Carl Sutherland

unread,
Aug 29, 2012, 10:16:14 AM8/29/12
to envis...@googlegroups.com
Hello Siwei, please check out the source for the TimeSeries template!


-Carl

John Verber

unread,
Apr 9, 2013, 12:05:34 PM4/9/13
to envis...@googlegroups.com
Hey there...I'm trying to do something similar.  Is there a way to use the "remove()" function within our javascript file containing "function realtime_demo(container)"??   It'd be easier than having to link to a couple different 'envision.js' files that are tweaked for the same effect.  I've tried:

vis.remove(summary);  container.remove(summary); remove(summary);  I've read the api but not exactly sure how to call this.  

Carl Sutherland

unread,
Apr 9, 2013, 12:12:06 PM4/9/13
to envis...@googlegroups.com
Honestly, the templates are just examples...  It should be sufficient to define a chart without the summary in the same manner as the TimeSeries is defined.


--
You received this message because you are subscribed to the Google Groups "Envision.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envisionjs+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

John Verber (home)

unread,
Apr 9, 2013, 1:52:01 PM4/9/13
to envis...@googlegroups.com
Ok.  I've actually never worked with the templates.  I just use envision js and the stole the code from the real time demo.  I'll play around with it and see if I can get it to work.  Thanks Carl.


--
You received this message because you are subscribed to a topic in the Google Groups "Envision.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/envisionjs/3I2RYo-Vy6I/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to envisionjs+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Regards,

John Verber




Carl Sutherland

unread,
Apr 9, 2013, 1:54:06 PM4/9/13
to envis...@googlegroups.com
Sure thing!  The API is pretty clean and pretty small.

Also, you did not steal!  It was given freely ;-)

John Verber (home)

unread,
Apr 9, 2013, 2:00:46 PM4/9/13
to envis...@googlegroups.com
Yeah I've been reading the API but I'm a expert-novice lol at javascript so I get lost at times.  And thanks man you're stuff has been pretty cool.  I'm working on getting it up on my site if I can ever work on my site as I'm always at 'work'

John Verber (home)

unread,
Apr 9, 2013, 8:19:05 PM4/9/13
to envis...@googlegroups.com
So what I did to not show the summary is to use the styles on the envision.css file:  

.envision-timeseries-connection .envision-component{
height: 10px;
}

.envision-timeseries-summary .envision-component{
cursor: all-scroll;
height: 10px;
}

Then on my html page I used the style:

<style>
   .envision-timeseries-summary{visibility: hidden;}
   .envision-timeseries-connection{visibility: hidden;}
</style>

I also set the margin-bottom on the container div to negative so that things can overlay on top of it....or just use a z-index either way.  I hope that helps someone out.
--

Regards,

John Verber




Reply all
Reply to author
Forward
0 new messages