Line Styling
config setup
const NUMBER_CFG = {count: DATA_COUNT, min: -100, max: 100};
const labels = Utils.months({count: DATA_COUNT});
const data = {
labels: labels,
datasets: [
{
label: 'Unfilled',
backgroundColor: Utils.CHART_COLORS.blue,
borderColor: Utils.CHART_COLORS.blue,
data: Utils.numbers(NUMBER_CFG),
}, {
label: 'Dashed',
fill: false,
backgroundColor: Utils.CHART_COLORS.green,
borderColor: Utils.CHART_COLORS.green,
}, {
label: 'Filled',
backgroundColor: Utils.CHART_COLORS.red,
borderColor: Utils.CHART_COLORS.red,
data: Utils.numbers(NUMBER_CFG),
fill: true,
}
};