projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5ec87
)
fix global var
author
Alan
<alan@roojs.com>
Tue, 16 May 2023 03:04:35 +0000
(11:04 +0800)
committer
Alan
<alan@roojs.com>
Tue, 16 May 2023 03:04:35 +0000
(11:04 +0800)
g.pie.sector.js
patch
|
blob
|
history
diff --git
a/g.pie.sector.js
b/g.pie.sector.js
index
4b891dd
..
5ab668f
100644
(file)
--- a/
g.pie.sector.js
+++ b/
g.pie.sector.js
@@
-171,7
+171,8
@@
Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {});
// draw legend
function legend(paper, cx, cy, r, values, opts, total, len)
{
- var legendPos = opts.legendpos || 'right',
+ var chartinst = this,
+ legendPos = opts.legendpos || 'right',
legendKeyShape = opts.legendkeyshape || 'circle',
legendKeySize = opts.legendkeysize || 12,
legendFont = opts.legendfont || "'Fontin Sans', Fontin-Sans, sans-serif",