IRC logs for #farmOS, 2021-04-19 (GMT)

[20:22:08]<ssoyrnoz[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?
[20:29:50]<ssoyrnoz[m]>Or is there a better/easier way to make that change?
[07:11:30]<mstenta[m]>ssoyrnoz: the JS gets it's content from the `settings` variable that is passed into it from the server:
[07:12:02]<mstenta[m]>These are the two places that data is assembled in PHP:
[07:12:30]<mstenta[m]>group report:
[07:12:45]<mstenta[m]>individual report:
[07:12:55]<mstenta[m]>you can trace that backwards to learn how it is assembled