diff --git a/visual_playground/frontend/pie_chart.js b/visual_playground/frontend/pie_chart.js index 95249f1..8dbf09a 100644 --- a/visual_playground/frontend/pie_chart.js +++ b/visual_playground/frontend/pie_chart.js @@ -191,7 +191,7 @@ function renderPieHistoryChart(yearsData, key, groupByMonth, nodeId) { name: i, type: 'bar', textposition: 'inside', - text: i, + text: (numberOfValues > 6) ? i : null, // those graphs look nicer without the number marker: (colorToUse ? { color: colorToUse, } : {})