Commit 968e96a
committed
initial commit, POC for drawing horizontal and vertical indicators on canvas instead of delegating to composables
cleanup required, but it's working
general cleanup, remove unused, apply formatting
bugfix: coerce to inset bounds, check before `showPopup` unnecessary
remove draw grid in favor of calculated heights/widths of indicators/labels, add `drawTicks`, use ticks passed from `insetDrawScope` within `LineChartCanvas`. Added test cases to initial chart in `PhoneSample`
couple fixes
fix errors after removing dividerProperties1 parent 8535289 commit 968e96a
5 files changed
Lines changed: 439 additions & 226 deletions
File tree
- app/src/commonMain/kotlin/ir/ehsannarmani/compose_charts/ui
- compose-charts/src/commonMain/kotlin/ir/ehsannarmani/compose_charts
- extensions/line_chart
- utils
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
140 | 138 | | |
141 | 139 | | |
142 | 140 | | |
| |||
191 | 189 | | |
192 | 190 | | |
193 | 191 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | 192 | | |
203 | 193 | | |
204 | 194 | | |
| |||
294 | 284 | | |
295 | 285 | | |
296 | 286 | | |
297 | | - | |
298 | 287 | | |
299 | 288 | | |
300 | 289 | | |
| |||
372 | 361 | | |
373 | 362 | | |
374 | 363 | | |
375 | | - | |
376 | 364 | | |
377 | 365 | | |
378 | 366 | | |
| |||
432 | 420 | | |
433 | 421 | | |
434 | 422 | | |
435 | | - | |
436 | 423 | | |
437 | 424 | | |
438 | 425 | | |
| |||
532 | 519 | | |
533 | 520 | | |
534 | 521 | | |
535 | | - | |
536 | 522 | | |
537 | 523 | | |
538 | 524 | | |
| |||
601 | 587 | | |
602 | 588 | | |
603 | 589 | | |
604 | | - | |
605 | 590 | | |
606 | 591 | | |
607 | 592 | | |
| |||
660 | 645 | | |
661 | 646 | | |
662 | 647 | | |
663 | | - | |
664 | 648 | | |
665 | 649 | | |
666 | 650 | | |
| |||
710 | 694 | | |
711 | 695 | | |
712 | 696 | | |
713 | | - | |
714 | 697 | | |
715 | 698 | | |
716 | 699 | | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
0 commit comments