projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e7141f
)
g.pie.sector.js
author
leon
<leon@roojs.com>
Wed, 14 Jun 2023 07:06:34 +0000
(15:06 +0800)
committer
leon
<leon@roojs.com>
Wed, 14 Jun 2023 07:06:34 +0000
(15:06 +0800)
g.pie.sector.js
patch
|
blob
|
history
diff --git
a/g.pie.sector.js
b/g.pie.sector.js
index
a0752a6
..
89cdc58
100644
(file)
--- a/
g.pie.sector.js
+++ b/
g.pie.sector.js
@@
-212,7
+212,7
@@
Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {});
var text = (values[i].others) ? opts.others : opts.legend[values[i].origin] || values[i];
if(text.indexOf('#qty#') !== -1) {
- text = text.replace('#qty#', Roo.util.Format.number(Math.round(values[i])));
+ text = text.replace('#qty#', Roo.util.Format.number(Math.round(values[i])
, 0
));
}
if(text.indexOf('#%#') !== -1) {