Multigraph in an iframe

 Is it possible to display multigraph in a way that is suitable for inclusion in an iframe, like some of the other graphs?  If I use the syntax emoncms3/vis/multigraph?apikey=b4e8xxxxxxxxxxxe, I still get a top black menu bar (with nomenu items), and the emoncms symbol in the top left, which you can click on.  Is there anyway to get rid of the menu bar?

Alternatively, how straight forward is it  to build a set of readonly pages using the existing software, with their own menus, separate from the logged in menus? (As shown here: http://openenergymonitor.org/emon/sites/default/files/emoncms%20dashboard%20demo.png)

Thanks

Lloyd

TrystanLea's picture

Re: Multigraph in an iframe

Hello Lloyd, with the new emoncms version it is possible to do both embeding of the multigraph and the dashboard menu. The new version is not fully 'launched' yet but it is now available in the master branch of emoncms here: github.com/openenergymonitor/emoncms3, We've also been working on a new launch page for emoncms  http://emoncms.org/ the new version is live there and is running off the same server as vis.openenergymonitor.org so if you have an account on vis you can access it through emoncms.org.

To embed an multigraph or any page add &embed=1 to the URL, i.e vis/multigraph?embed=1

 

Lloyd's picture

Re: Multigraph in an iframe

Thanks.  Are there any steps required to update from a previous version to this new one?

Also, the version I am running at the moment is bloated with what appears to be source for the editor, and multiple languages.  Is there any intention to reduce this ?

Lloyd

TrystanLea's picture

Re: Multigraph in an iframe

Hello Lloyd

To update have a look at this page: http://openenergymonitor.org/emon/emoncms/upgrading

Yes there are plans to bring the base install down to around 1.9mb which will be possible if ckeditor and other features such as stack generator (not currently included) can be a module a bit like how its implemented in drupal, I have outlined thoughts on how best to implement modules here https://github.com/openenergymonitor/emoncms3/issues/47

The new language implementation uses gettext which is a really light weight implementation: http://openenergymonitor.org/emon/node/809

Trystan

PeterN's picture

Re: Multigraph in an iframe

Multi - Multigraphs. I found it very useful in the past to have a number of multigraph.php files e.g. multigraph2.php etc. In an older emoncms releases I could simply copy file and add feeds I wanted to my new multigraph.php file and it could be added to web page showing the specified feeds and option to check these feeds or not.

Vey useful when many feeds are involved. In may case 12CT providing 48 feeds looks very cluttered. The new emoncms offers so much more so I won't revert. It would be much appreciated if someone could make above available in latest release or provide some guidence as to where I could start.

As always thanks in advance. Cheers

Peter

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.