Skip to content

Commit 47731bf

Browse files
authored
Added cutom darkmode style description
1 parent 841bde1 commit 47731bf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ Adopts to dark mode automatically
3939

4040
![Line Charts](./Resources/showcase3.gif "Line Charts")
4141

42+
You can add your custom darkmode style by specifying:
43+
44+
```swift
45+
let myCustomStyle = ChartStyle(...)
46+
let myCutsomDarkModeStyle = ChartStyle(...)
47+
myCustomStyle.darkModeStyle = myCutsomDarkModeStyle
48+
```
49+
4250
**Line chart is interactive, so you can drag across to reveal the data points**
4351

4452
You can add a line chart with the following code:

0 commit comments

Comments
 (0)