Repository navigation
Commit df8dd57
fix(chart-line): adaptive y-axis tick precision for small decimal ranges (#233)
* Initial plan
* fix: adaptive y-axis tick precision for small decimal values in chart-line
Agent-Logs-Url: https://github.com/antvis/Infographic/sessions/aca9d170-d41a-44d2-b381-fdf2a616d576
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
* fix: use -Math.floor instead of Math.ceil(-...) for tick decimal precision
Agent-Logs-Url: https://github.com/antvis/Infographic/sessions/0c6b28a0-a891-483e-bbf0-14a568d5e00b
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
* chore: bump version to 0.2.17
Agent-Logs-Url: https://github.com/antvis/Infographic/sessions/a166fa68-300b-40e6-a9b2-7936ce472830
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
* refactor: optimize tick calc
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
Co-authored-by: Aaron <antvaaron@gmail.com>1 parent 59a231f commit df8dd57
3 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
148 | | - | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments