This repository was archived by the owner on Dec 30, 2025. It is now read-only.
Commit dea4c14
committed
drop support for "currency" and "currencyFormatCallback"
There is another callback option "tooltipFnc" that allows transformation
of the value string. The currency options are hardcoded as prefix and
the transformation is applied in non-intuitive order. Finally, adding a
currency symbol can be achieved with a single callback:
(value) => '$ ' + value1 parent ec05e45 commit dea4c14
File tree
4 files changed
+7
-43
lines changed- src/scripts
- test/spec
4 files changed
+7
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 9 | | |
18 | 10 | | |
19 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 8 | | |
21 | 9 | | |
22 | 10 | | |
| |||
72 | 60 | | |
73 | 61 | | |
74 | 62 | | |
75 | | - | |
76 | | - | |
77 | 63 | | |
78 | 64 | | |
79 | 65 | | |
| |||
82 | 68 | | |
83 | 69 | | |
84 | 70 | | |
| 71 | + | |
| 72 | + | |
85 | 73 | | |
86 | 74 | | |
87 | 75 | | |
| |||
194 | 182 | | |
195 | 183 | | |
196 | 184 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 185 | | |
207 | 186 | | |
208 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
| |||
408 | 405 | | |
409 | 406 | | |
410 | 407 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | 408 | | |
417 | 409 | | |
418 | 410 | | |
| |||
422 | 414 | | |
423 | 415 | | |
424 | 416 | | |
425 | | - | |
| 417 | + | |
426 | 418 | | |
427 | 419 | | |
428 | 420 | | |
| |||
464 | 456 | | |
465 | 457 | | |
466 | 458 | | |
467 | | - | |
| 459 | + | |
468 | 460 | | |
469 | 461 | | |
470 | 462 | | |
| |||
0 commit comments