Skip to content

A platform for community discussion. Free, open, simple.

minor cosmetic improvements to charts (#6919)

Joffrey JAFFEUX71613048422e
diff --git a/app/assets/javascripts/admin/components/admin-report-chart.js.es6 b/app/assets/javascripts/admin/components/admin-report-chart.js.es6
index d103e6f9121..1c97f95f18d 100644
--- a/app/assets/javascripts/admin/components/admin-report-chart.js.es6
+++ b/app/assets/javascripts/admin/components/admin-report-chart.js.es6
@@ -60,7 +60,11 @@ export default Ember.Component.extend({
backgroundColor: prevChartData.length
? "transparent"
: model.secondary_color,
- borderColor: model.primary_color
+ borderColor: model.primary_color,
+ pointRadius: 3,
+ borderWidth: 1,
+ pointBackgroundColor: model.primary_color,
+ pointBorderColor: model.primary_color
}
]
};