Commit becd496
committed
clipRect to chart area, allow min/max values to be outside of rect, adjust inset calculation to avoid crash on screen orientation change
change `clipRect` to just on the paths, avoids clipping dots on the boundary, cleanup
refactor `Bounds` and `InsetPad` into utilities, add handling of label rotation
update `PhoneSample` with label rotation
fix imports1 parent 968e96a commit becd496
4 files changed
Lines changed: 329 additions & 191 deletions
File tree
- app/src/commonMain/kotlin/ir/ehsannarmani/compose_charts/ui
- compose-charts/src/commonMain/kotlin/ir/ehsannarmani/compose_charts
- utils
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| |||
0 commit comments