Added cutom darkmode style description

This commit is contained in:
Andras Samu
2020-02-13 12:21:20 +01:00
committed by GitHub
parent 841bde1377
commit 47731bfeff
+8
View File
@@ -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: