From 229ef76242233774a2a3949c128d181d060c87d9 Mon Sep 17 00:00:00 2001 From: honga <7058634+honga@users.noreply.github.com> Date: Wed, 5 Aug 2020 22:55:12 +0800 Subject: [PATCH] Update README.md update ChartStyle styling options --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d2cc1e55..a94baeae 100644 --- a/README.md +++ b/README.md @@ -152,9 +152,10 @@ Customizable: * second gradient color * text color * legend text color +* drop shadow color ```swift - let chartStyle = ChartStyle(backgroundColor: Color.black, accentColor: Colors.OrangeStart, secondGradientColor: Colors.OrangeEnd, chartFormSize: ChartForm.medium, textColor: Color.white, legendTextColor: Color.white ) + let chartStyle = ChartStyle(backgroundColor: Color.black, accentColor: Colors.OrangeStart, secondGradientColor: Colors.OrangeEnd, textColor: Color.white, legendTextColor: Color.white, dropShadowColor: Color.black) ... BarChartView(data: [8,23,54,32,12,37,7,23,43], title: "Title", style: chartStyle) ```