From dcfcba253411781c57e3d85e5319397ca07ca970 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 17 Jan 2022 16:09:41 +0100 Subject: [PATCH 2/3] dataviz: do not show floating point numbers when scaling (#60685) --- combo/apps/dataviz/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/apps/dataviz/models.py b/combo/apps/dataviz/models.py index 056ae23d..13ee757c 100644 --- a/combo/apps/dataviz/models.py +++ b/combo/apps/dataviz/models.py @@ -336,7 +336,7 @@ class ChartNgCell(CellBase): 'pie': pygal.Pie, 'dot': pygal.Dot, 'table': pygal.Bar, - }[self.chart_type](config=pygal.Config(style=copy.copy(style), show_y_guides=False)) + }[self.chart_type](config=pygal.Config(style=copy.copy(style), show_y_guides=False, order_min=0.1)) if self.statistic.service_slug == 'bijoe': x_labels, y_labels, data = self.parse_response(response, chart) -- 2.30.2