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: