Page 2 of 2

Re: Bar Graph Question

PostPosted: Mon Jun 10, 2019 6:48 pm
by jltnol
Dave

The script you so graciously provided is doing its job. There are 4 new files, they all have 1 entry in them and look exactly like your example. As a test, I manually changed the values in the variables to random numbers, and manually triggered the schedule, and the values from the variable are put into the 4 files exactly as they should

I've got a bit more customization to do on the graph display, but here's what I've got (FYI, these are "fake" numbers) but clearly this does the trick!

I can't possibly thank you enough for getting this to work, as this is exactly what I was looking for.

And for the record, I do understand exactly what is happening in the script... pulling the numbers from the variables, using the 1970 part as a 'filler" , and re-writing/over-writing the CVS files every time the schedule runs. But my understanding is an ocean away from being able to make it happen. . I have no idea how hard this would be to incorporate in the the CVS Engine... perhaps a "special" engine that does just this one entry per file, but it may be helpful to others.

Again, THANKS!!

Image

Re: Bar Graph Question

PostPosted: Mon Jun 10, 2019 8:08 pm
by DaveL17
Good deal. I tested the code and it should be good to go (with your modifications) but if something doesn't work for some reason, I'm happy to help trouble shoot.

Re: Bar Graph Question

PostPosted: Mon Jun 10, 2019 8:11 pm
by DaveL17
That's awesome. I'm glad that you're finding the plugin useful.

I'll add your suggestion to the feature request list.

Cheers!

Re: Bar Graph Question

PostPosted: Wed Jun 12, 2019 3:24 pm
by jltnol
And as a side note, I just found out you can set up an action to re-draw charts, so I moved the re-draw function out of the schedule and to the tail end of a series of triggers involving the AC. And, I might add, was able to adapt your script for another chart, and am considering other uses for this as well.

Thanks again.

Re: Bar Graph Question

PostPosted: Wed Jun 12, 2019 6:16 pm
by DaveL17
That's great. Thanks for letting me know. Hopefully your approach will be useful to other users of the plugin too.