Robert Wall's picture

Re: Small graph

Have you tried shrinking a big graph? - use the handles at the middle of each side to move that edge.

Lloyd's picture

Re: Small graph

This used to be a standard widget in older versions of emoncms, before the dashboard designer was introduced.  I don't know if the widget still exists.  I still use that version, and this:

<div class="widget-container-v" style="height: 562px">
     <div class="widget">
           <div class="title">Generating Now</div>
           <div class="dial" feed="Generating" max="10000" scale="1" units="W"></div>
    </div>
    <div style="clear: both"></div>
    <br />
    <div class="stats" style="height: 70px"><b>Energy generated today:</b><br />
          <div class="value"><span class="Generated_Kwhd">&nbsp;</span>kWh</div>
   </div>
   <div class="widget">
       <div class="graph" feed="Generating" id="generating-graph"></div>
   </div>
</div>

gives the attached dial and graph. 

 

Lloyd

 

TrystanLea's picture

Re: Small graph

Yes sorry I removed the small graph, thinking it best to simplify things and stick with the main visualisation types. Rawdata and bargraph do much the same thing, but I guess the buttons will be in the way when made that small. If its of interest I can create an option to hide the buttons?

shadows's picture

Re: Small graph

Thanks for your answer :-) and Happy New Year to all of you
Trystan I've tried a rough hack and removed the buttons and it looks fine - so if you can make it as an option, it would be really cool
Regards Mark

alco's picture

Re: Small graph

is it possible to use the CKeditor in the new emoncms ? I love the dashboard way..but it can't make good Iframes,buttons and tables..so that's why I'm asking this..

TrystanLea's picture

Re: Small graph

Hello Alco, also agree it would be good to have it as an option. Would also like to have a straight html editor. I think the ckeditor could make a good optional module.

Comment viewing options

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