Basic Graphing Range Newbie Question

I have searched, but didn't find anything.

I'm trying to do what seems to be simple, setting a graph to the range of the maximum and minimum values of a feed, not from zero to the maximum.

For example, if the values are 180000, 180100, 180200, 180300, 180400, 180500. it just looks like a flat graph, as opposed to a baseline of 180000 and going up the height of the graph to the graph maximum of 180500.

I guess there might be a way to offset everything by 180000, but then I think the graph would just show 100 ... 500.

Thanks for the help.

 

Robert Wall's picture

Re: Basic Graphing Range Newbie Question

I'm a bit out of date on emonCMS now, but I think the scale will go from the more negative of zero or the lowest value to the more positive of zero or the highest value (plus some for rounding). I'm not aware that you can have an offset zero.

sub3marathonman's picture

Re: Basic Graphing Range Newbie Question

I'm amazed if there isn't at least an option to have a user defined graph interval.  Somebody else must have run into this long before me here.

Wouldn't it be possible to put this option into the program without too much difficulty?

TrystanLea's picture

Re: Basic Graphing Range Newbie Question

The graph will auto size if the fill property is set to 0. You can set the fill option with the visualisation type rawdata.

sub3marathonman's picture

Re: Basic Graphing Range Newbie Question

Wow, your help now and work on this entire project is so greatly appreciated!!!

I'll definitely be trying to do that.  I've never used the "rawdata" graph, so now I'll learn a bit more.

Thanks again.

Woah!!  After one minute I got it to work, exactly what I had hoped for!!

dBC's picture

Re: Basic Graphing Range Newbie Question

Sometimes the auto-scaling is just a little too tight.  There's a nifty feature whereby you can run your mouse along the data plot and get a display of the y-reading.  You can see in the two shots below that I can measure the peak just after 16:00, but the peak just before 20:00 gets obscured  by the limits of the graph.

sub3marathonman's picture

Re: Basic Graphing Range Newbie Question

Thanks dBC for that graph.

That brings up one more question I wondered about, but don't have an immediate need to implement.

Can the default graph y-range be overridden with different values?  Could you make the voltage graph above to a range of 242 to 262, instead of the default 240 to 260?

 

Comment viewing options

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