Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-boss
Commits
6a3e6895
Commit
6a3e6895
authored
Dec 03, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改饼状图遮罩
parent
892f8545
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
PayTypeChart.js
miniprogram/pages/components/PayTypeChart/PayTypeChart.js
+0
-0
PayTypeChart.ts
miniprogram/pages/components/PayTypeChart/PayTypeChart.ts
+2
-2
No files found.
miniprogram/pages/components/PayTypeChart/PayTypeChart.js
View file @
6a3e6895
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/PayTypeChart/PayTypeChart.ts
View file @
6a3e6895
...
@@ -63,10 +63,10 @@ function initChart(canvas, width, height, F2) {
...
@@ -63,10 +63,10 @@ function initChart(canvas, width, height, F2) {
const
coord
=
paytypeChart
.
get
(
'coord'
);
// 获取坐标系对象
const
coord
=
paytypeChart
.
get
(
'coord'
);
// 获取坐标系对象
frontPlot
.
addShape
(
'sector'
,
{
frontPlot
.
addShape
(
'sector'
,
{
attrs
:
{
attrs
:
{
x
:
coord
.
c
enter
.
x
-
coord
.
circleRadius
-
coord
.
start
.
x
+
coord
.
endAngle
,
x
:
coord
.
c
ircleRadius
*
(
1
+
coord
.
innerRadius
)
+
coord
.
endAngle
,
y
:
coord
.
center
.
y
,
y
:
coord
.
center
.
y
,
r
:
0
,
// 全半径
r
:
0
,
// 全半径
r0
:
coord
.
circleRadius
*
coord
.
innerRadius
,
r0
:
coord
.
circleRadius
*
coord
.
innerRadius
*
1.1
,
fill
:
'#fff'
,
fill
:
'#fff'
,
},
},
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment