From 47731bfeff84df02a1027f71b705e1a26815e904 Mon Sep 17 00:00:00 2001 From: Andras Samu Date: Thu, 13 Feb 2020 12:21:20 +0100 Subject: [PATCH] Added cutom darkmode style description --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9b2a4b7..ce6c819 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,14 @@ Adopts to dark mode automatically ![Line Charts](./Resources/showcase3.gif "Line Charts") +You can add your custom darkmode style by specifying: + +```swift +let myCustomStyle = ChartStyle(...) +let myCutsomDarkModeStyle = ChartStyle(...) +myCustomStyle.darkModeStyle = myCutsomDarkModeStyle +``` + **Line chart is interactive, so you can drag across to reveal the data points** You can add a line chart with the following code: