Commit 532f52f
DIAGNOSTIC: empty dataset in chart-line to isolate drawSeries
Previous diagnostic with showLabels/Legend/Grid/Axes off still produced
a byte-identical blank PNG on iOS GL+Metal -- so the only remaining
significant chart paint was drawSeries -> drawPath. Drop all data
series so drawSeries is never invoked. If chart-line *now* captures a
non-blank form (just an empty chart area + form title bar) the iOS
blank-render is on the drawPath / Graphics.drawShape /
TextureAlphaMask path. If it stays byte-identical blank, the bug is
upstream of any actual chart drawing -- something about
ChartComponent.paint or XYChart.draw's pre-series setup is corrupting
the iOS form-Graphics state.
Pure diagnostic; reverts after the culprit is identified.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0e28a3d commit 532f52f
1 file changed
Lines changed: 7 additions & 16 deletions
File tree
- scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/charts
Lines changed: 7 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 28 | | |
38 | 29 | | |
39 | 30 | | |
| |||
56 | 47 | | |
57 | 48 | | |
58 | 49 | | |
59 | | - | |
| 50 | + | |
60 | 51 | | |
61 | 52 | | |
62 | 53 | | |
| |||
0 commit comments