From d7b9c6d5181d9a83fe75646ffe41df42545b7015 Mon Sep 17 00:00:00 2001 From: Eugen Usov Date: Fri, 18 Dec 2020 18:01:42 +0300 Subject: [PATCH] Fix of bar chart --- src/BarChart.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BarChart.tsx b/src/BarChart.tsx index 4e8aa27b..4f2508fd 100644 --- a/src/BarChart.tsx +++ b/src/BarChart.tsx @@ -255,7 +255,8 @@ class BarChart extends AbstractChart { })} {this.renderColors({ ...this.props.chartConfig, - flatColor: flatColor + flatColor: flatColor, + data: this.props.data.datasets })}