diff --git a/src/views/Compare/Dashboard/index.vue b/src/views/Compare/Dashboard/index.vue index 396ca21..ec8e410 100644 --- a/src/views/Compare/Dashboard/index.vue +++ b/src/views/Compare/Dashboard/index.vue @@ -503,10 +503,7 @@ export default { }, label: function(context) { let value = context.parsed.y; - - value = context.parsed.y === 0 ? 0 : - context.parsed.y === null ? "n/a" : - context.parsed.y.toFixed(2); + value = `${(context.parsed.y * 10).toFixed(2)}%`; switch (context.datasetIndex) { case 0: // Primary return `${labelPrimary}: ${value}`;