| 00:22 | 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? |
| 00:29 | ssoyrnoz[m] | Or is there a better/easier way to make that change? |
| 11:11 | mstenta[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:12 | mstenta[m] | These are the two places that data is assembled in PHP: |
| 11:12 | mstenta[m] | group report: github.com/farmOS/farmOS/blob/7.x-1.x/mo |
| 11:12 | mstenta[m] | individual report: github.com/farmOS/farmOS/blob/c5c15043cf |
| 11:12 | mstenta[m] | you can trace that backwards to learn how it is assembled |
| 17:59 | ssoyrnoz[m] | Thanks |