Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
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
tianzhuanghu
ant-design-pro-vue
Commits
2cd614fb
Commit
2cd614fb
authored
Mar 26, 2019
by
JianFeng Ren (mynuolr)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:pie style
parent
c84087e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
Analysis.vue
src/views/dashboard/Analysis.vue
+2
-7
No files found.
src/views/dashboard/Analysis.vue
View file @
2cd614fb
...
...
@@ -185,8 +185,8 @@
<v-chart
:force-fit=
"true"
:height=
"350"
:data=
"pieData"
:scale=
"pieScale"
>
<v-tooltip
:showTitle=
"false"
dataKey=
"item*percent"
/>
<v-axis
/>
<v-legend
dataKey=
"item"
/>
<v-pie
position=
"percent"
color=
"item"
:vStyle=
"pieStyle"
:label=
"labelConfig"
/>
<v-legend
dataKey=
"item"
position=
"right"
:offsetX=
"-140"
/>
<v-pie
position=
"percent"
color=
"item"
:vStyle=
"pieStyle"
/>
<v-coord
type=
"theta"
:radius=
"0.75"
:innerRadius=
"0.6"
/>
</v-chart>
</div>
...
...
@@ -318,12 +318,7 @@ export default {
pieStyle
:
{
stroke
:
'#fff'
,
lineWidth
:
1
},
labelConfig
:
[
'percent'
,
{
formatter
:
(
val
,
item
)
=>
{
return
item
.
point
.
item
+
': '
+
val
}
}]
}
},
created
()
{
...
...
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