Skip to content

Commit

Permalink
fixes in non aggregated data
Browse files Browse the repository at this point in the history
  • Loading branch information
dariosalvi78 committed Jul 26, 2024
1 parent e92dd9f commit 97eb6ca
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/components/tasks/dataQuery/DataQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default {
dataType: HealthDataEnum.toNativeType(taskDescr.dataType)
})
}
console.log('raw health data', healthData)
// console.log('raw health data', healthData)
// now plot the data
// NEED TO SPLIT CODE HERE DEPENDING ON DATA TYPE AND IF AGGREGATED OR NOT
Expand Down Expand Up @@ -268,8 +268,6 @@ export default {
}
}
console.log(chartData)
console.log(chartOptions)
const chartCtx = this.$refs.chart
// eslint-disable-next-line no-new
new Chart(chartCtx, {
Expand All @@ -296,18 +294,13 @@ export default {
chartOptions = {
maintainAspectRatio: true,
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}],
xAxes: [{
y: {
beginAtZero: true
},
x: {
type: 'time',
bounds: 'data'
// time: {
// unit: unit
// }
}]
}
}
}
Expand Down

0 comments on commit 97eb6ca

Please sign in to comment.