< 182021-04-19⋎20 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
00:22ssoyrnoz[m]I have a stupid question, or at least I feel like it is stupid. I'm trying to modify farm_livestock_weight.js to adjust how weights are plotted. I want to plot days since birth (x) by weight (y) so I can more easily identify individual animals that might be having issues. My question is, how can I bring in the birthdate data for the animal(s) being plotted?
00:29ssoyrnoz[m]Or is there a better/easier way to make that change?
11:11mstenta[m]ssoyrnoz: the JS gets it's content from the `settings` variable that is passed into it from the server: github.com/farmOS/farmOS/blob/c5c15043cf
11:12mstenta[m]These are the two places that data is assembled in PHP:
11:12mstenta[m]group report: github.com/farmOS/farmOS/blob/7.x-1.x/mo
11:12mstenta[m]individual report: github.com/farmOS/farmOS/blob/c5c15043cf
11:12mstenta[m]you can trace that backwards to learn how it is assembled
17:59ssoyrnoz[m]Thanks

< 182021-04-19⋏20 >