From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
var backgroundColor = '<!--{$backgroundColor|escape:'quotes'}-->'; | var backgroundColor = '<!--{$backgroundColor|escape:'quotes'}-->'; | ||
var gridColor = '<!--{$gridColor|escape:'quotes'}-->'; | var gridColor = '<!--{$gridColor|escape:'quotes'}-->'; | ||
var axisColor = '<!--{$axisColor|escape:'quotes'}-->'; | |||
if (color == "") { | if (color == "") { | ||
Line 18: | Line 19: | ||
} | } | ||
if (gridColor == "") { | |||
gridColor = "lightgray"; | gridColor = "lightgray"; | ||
} | |||
if (axisColor == "") { | |||
axisColor = gridColor; | |||
} | } | ||
Line 59: | Line 64: | ||
}, | }, | ||
border: { | border: { | ||
color: | color: axisColor | ||
} | } | ||
}, | }, | ||
Line 67: | Line 72: | ||
}, | }, | ||
border: { | border: { | ||
color: | color: axisColor | ||
} | } | ||
} | } |