Draw or Plot On Panel
xrmichael
Junior Member
Might be a odd question, but is there a way to mark a 2 sets of x,y cords then issue a command to draw a line between them ? sort of SEND_COMMAND dvtp,'20,20,30,30,draw' ? I want to plot out the clients power usage / temp over a period of time. I could also line up a load of levels but that would be a bit messy to do a years stats.
Comments
-
no, there is not.Might be a odd question, but is there a way to mark a 2 sets of x,y cords then issue a command to draw a line between them ? sort of SEND_COMMAND dvtp,'20,20,30,30,draw' ? I want to plot out the clients power usage / temp over a period of time. I could also line up a load of levels but that would be a bit messy to do a years stats. -
I have not tried this yet, but it seem to recall someone mentioning it elsewhere on the forums. Google has a chart api that lets you submit info via a url and it will create a chart image for you. You could use this with dynamic images to create an image file.
Here is a link:
http://chart.apis.google.com/chart?chs=100x20&chf=bg,s,ffffff&cht=ls&chd=t:23.52,20.58,26.47,23.52,23.52,23.52,100.00,0.00,23.52,23.52,27.94,20.58,23.52&chco=0066ff
Jeff -
Spire_Jeff wrote: »I have not tried this yet, but it seem to recall someone mentioning it elsewhere on the forums. Google has a chart api that lets you submit info via a url and it will create a chart image for you. You could use this with dynamic images to create an image file.
Here is a link:
http://chart.apis.google.com/chart?chs=100x20&chf=bg,s,ffffff&cht=ls&chd=t:23.52,20.58,26.47,23.52,23.52,23.52,100.00,0.00,23.52,23.52,27.94,20.58,23.52&chco=0066ff
Jeff
Add a | character at the end of the path and use chart.png for the file name. -
Might be a odd question, but is there a way to mark a 2 sets of x,y cords then issue a command to draw a line between them ? sort of SEND_COMMAND dvtp,'20,20,30,30,draw' ? I want to plot out the clients power usage / temp over a period of time. I could also line up a load of levels but that would be a bit messy to do a years stats.
There might be a way but I don't know how elegant it would be. You can change the size and position of a button so by resizing/moving it you can make it look like drawing a line across the screen. I would think using levels would be far easier though.
Paul -
I was looking for something like this as well so I could completely bypass an Aprilaire 8825 and still give the client a history graph (the only feature I haven't been able to replicate). Thanks for the heads-up on the Google chart, it might be just what I need. I was looking at all manner of html graphing solutions, and all of them were ugly.
-
Thanks
Cheers for the responses i will have a look at the google option, is there a limit on the number of levels for some reason i have 8 i my head but could be wrong.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
