| | |
| | | } |
| | | }) |
| | | |
| | | _config.plot.color = _config.plot.color || 'rgba(0, 0, 0, 0.85)' |
| | | _config.plot.color = _config.plot.color || 'rgba(0, 0, 0, 0.65)' |
| | | |
| | | if (_config.plot.enabled === 'true' && _config.plot.customs && _config.plot.customs.length > 0) { |
| | | let colors = new Map() |
| | |
| | | |
| | | if (item.axis === 'true' && axisIndex < 2) { |
| | | if (axisIndex === 0) { |
| | | item.axis = { grid: {style: { fill: _config.plot.color }}, title: { style: { fill: _config.plot.color } }, label: {style: { fill: _config.plot.color }} } |
| | | item.axis = { title: { style: { fill: _config.plot.color } }, label: {style: { fill: _config.plot.color }} } |
| | | fields.unshift(item) |
| | | } else { |
| | | item.axis = { grid: null, title: {style: { fill: _config.plot.color }}, label: {style: { fill: _config.plot.color }} } |
| | |
| | | }, |
| | | style: { fill: plot.color } |
| | | }, |
| | | line: { style: { fill: plot.color } } |
| | | }) |
| | | chart.axis(_valfield, { grid: { style: { fill: plot.color } }, label: { style: { fill: plot.color } } }) |
| | | chart.axis(_valfield, { label: { style: { fill: plot.color } } }) |
| | | |
| | | if (!plot.legend || plot.legend === 'hidden') { |
| | | chart.legend(false) |
| | |
| | | }, |
| | | style: { fill: plot.color } |
| | | }, |
| | | line: { style: { fill: plot.color } } |
| | | }) |
| | | |
| | | if (!plot.legend || plot.legend === 'hidden') { |
| | |
| | | }, |
| | | style: { fill: plot.color } |
| | | }, |
| | | line: { style: { fill: plot.color } } |
| | | }) |
| | | chart.axis(_valfield, { grid: { style: { fill: plot.color } }, label: { style: { fill: plot.color } } }) |
| | | chart.axis(_valfield, { label: { style: { fill: plot.color } } }) |
| | | |
| | | if (!plot.legend || plot.legend === 'hidden') { |
| | | chart.legend(false) |