Open dummied opened 8 years ago
new Chartkick.LineChart("chart-1", [{"name":"Protein","data":[["05/19/16",12],["05/19/16",12]]},{"name":"Carbs","data":[["05/19/16",300],["05/19/16",3]]},{"name":"Fat","data":[["05/19/16",25],["05/19/16",12]]},{"name":"Goal Pro","data":[]},{"name":"Goal Carbs","data":[]},{"name":"Goal Fat","data":[]}], {"colors":["#FFBC27","#59d4d9","#5AD8A4","#2E7DFF","#0FB26F","#C519FF"],"ytitle":"Macro Quantity (g)"});
(same, but less problematic on bodyweights)
Also cardios