mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Code style
This commit is contained in:
parent
6d5fdac8da
commit
3009d1fe6d
|
|
@ -166,11 +166,12 @@ Grocy.Components.ProductCard.Refresh = function(productId)
|
|||
if (key != "_TrendlineDataset")
|
||||
{
|
||||
var color = "HSL(" + (129 * chart.datasets.length) + ",100%,50%)";
|
||||
|
||||
chart.datasets.push({
|
||||
data: datasets[key],
|
||||
label: key,
|
||||
fill: false,
|
||||
borderColor: color,
|
||||
label: key,
|
||||
pointBackgroundColor: color,
|
||||
pointBorderColor: color,
|
||||
pointHoverBackgroundColor: color
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user