You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -42,7 +42,7 @@ const chartData = ref({
|
||||
labels: props.data.labels.map((date) => props.formatLabels(date)),
|
||||
datasets: props.data.data.map((project) => ({
|
||||
label: project.title,
|
||||
backgroundColor: decimalToRgba(project.color, 0.75),
|
||||
backgroundColor: decimalToRgba(project.color, 0.5),
|
||||
borderColor: decimalToRgba(project.color),
|
||||
data: project.data,
|
||||
})),
|
||||
@@ -69,7 +69,9 @@ const chartOptions = ref({
|
||||
},
|
||||
},
|
||||
interaction: {
|
||||
mode: 'x',
|
||||
mode: 'index',
|
||||
intersect: false,
|
||||
axis: 'xy',
|
||||
},
|
||||
plugins: {
|
||||
legend: {
|
||||
|
||||
Reference in New Issue
Block a user