Discussion:
Displaying a graph
Yasha Zislin
2011-12-22 20:37:50 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63410#63410

--------------------------------------------------------------
I have two datapoints which produce positive values. I want to invert one of them and show both on one graph. So basically they will be separated by x axis.

Does anybody know how to do that?

Thanks.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63410#63410]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2011-12-22 20:40:00 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63411#63411

--------------------------------------------------------------
Maybe use the formula datasource? Or - how are you getting the datapoints? Can one be a command datapoint that your script edits?

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63411#63411]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
0graham0
2011-12-22 20:42:25 UTC
Permalink
0graham0 [http://community.zenoss.org/people/0graham0] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63393#63393

--------------------------------------------------------------
If you select the graph and go to the settings menu (in 3.2.0) you can choose "Manage Graph Points". If you double click on the graph point you want to flip, there is a section for RPN (reverse polish notation). In this case entering "-1,*" (without the quotes) should do the trick.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63393#63393]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2011-12-22 20:43:26 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63412#63412

--------------------------------------------------------------
Actually, I just found out the RPN def will invert both datapoints...
Thanks to Hackman: Custom graph definition then in the definition a CDEF that multiplies by -1
--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63412#63412]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
0graham0
2011-12-22 20:46:32 UTC
Permalink
0graham0 [http://community.zenoss.org/people/0graham0] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63394#63394

--------------------------------------------------------------
Ah, maybe I have individual data sources, as opposed to individual data points on the graph I am thinking of.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63394#63394]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2011-12-22 20:47:41 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63413#63413

--------------------------------------------------------------
Im with http://community.zenoss.org/people/0graham0 0graham0 the RPN should work to invert one of the graph points. I do it all the time, should work fine.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63413#63413]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Yasha Zislin
2011-12-22 20:49:57 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63414#63414

--------------------------------------------------------------
Wow. Lots of responses.

Thanks guys. It worked.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63414#63414]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2011-12-22 20:51:06 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63415#63415

--------------------------------------------------------------
Which approached worked? The RPN or the formula datasource?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63415#63415]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2011-12-22 20:53:07 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63416#63416

--------------------------------------------------------------
Also, there's already a big discussion on something similar in this thread:
http://community.zenoss.org/message/56736#56736#56736 http://community.zenoss.org/message/56736#56736
but maybe not necessary here?

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63416#63416]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Yasha Zislin
2011-12-22 21:07:02 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Displaying a graph"

To view the discussion, visit: http://community.zenoss.org/message/63417#63417

--------------------------------------------------------------
-1, * in the formula for the data point in Graph properties.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63417#63417]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...