(config)
| 89 | ]; |
| 90 | |
| 91 | export function months(config) { |
| 92 | var cfg = config || {}; |
| 93 | var count = cfg.count || 12; |
| 94 | var section = cfg.section; |
| 95 | var values = []; |
| 96 | var i, value; |
| 97 | |
| 98 | for (i = 0; i < count; ++i) { |
| 99 | value = MONTHS[Math.ceil(i) % 12]; |
| 100 | values.push(value.substring(0, section)); |
| 101 | } |
| 102 | |
| 103 | return values; |
| 104 | } |
| 105 | |
| 106 | const COLORS = [ |
| 107 | '#4dc9f6', |
nothing calls this directly
no outgoing calls
no test coverage detected