Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
29640ca0
Commit
29640ca0
authored
Jul 19, 2018
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change english to chinese
parent
4a201868
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
mock/chart.js
mock/chart.js
+17
-17
No files found.
mock/chart.js
View file @
29640ca0
...
@@ -40,77 +40,77 @@ for (let i = 0; i < 50; i += 1) {
...
@@ -40,77 +40,77 @@ for (let i = 0; i < 50; i += 1) {
}
}
const
salesTypeData
=
[
const
salesTypeData
=
[
{
{
x
:
'
House appliances
'
,
x
:
'
家用电器
'
,
y
:
4544
,
y
:
4544
,
},
},
{
{
x
:
'
Drink & wine
'
,
x
:
'
食用酒水
'
,
y
:
3321
,
y
:
3321
,
},
},
{
{
x
:
'
Health & care
'
,
x
:
'
个护健康
'
,
y
:
3113
,
y
:
3113
,
},
},
{
{
x
:
'
Clothing & bags
'
,
x
:
'
服饰箱包
'
,
y
:
2341
,
y
:
2341
,
},
},
{
{
x
:
'
Mother-baby
'
,
x
:
'
母婴产品
'
,
y
:
1231
,
y
:
1231
,
},
},
{
{
x
:
'
Other
'
,
x
:
'
其他
'
,
y
:
1231
,
y
:
1231
,
},
},
];
];
const
salesTypeDataOnline
=
[
const
salesTypeDataOnline
=
[
{
{
x
:
'
House appliances
'
,
x
:
'
家用电器
'
,
y
:
244
,
y
:
244
,
},
},
{
{
x
:
'
Drink & wine
'
,
x
:
'
食用酒水
'
,
y
:
321
,
y
:
321
,
},
},
{
{
x
:
'
Health & care
'
,
x
:
'
个护健康
'
,
y
:
311
,
y
:
311
,
},
},
{
{
x
:
'
Clothing & bags
'
,
x
:
'
服饰箱包
'
,
y
:
41
,
y
:
41
,
},
},
{
{
x
:
'
Mother-baby
'
,
x
:
'
母婴产品
'
,
y
:
121
,
y
:
121
,
},
},
{
{
x
:
'
Other
'
,
x
:
'
其他
'
,
y
:
111
,
y
:
111
,
},
},
];
];
const
salesTypeDataOffline
=
[
const
salesTypeDataOffline
=
[
{
{
x
:
'
House appliances
'
,
x
:
'
家用电器
'
,
y
:
99
,
y
:
99
,
},
},
{
{
x
:
'
Drink & wine
'
,
x
:
'
食用酒水
'
,
y
:
188
,
y
:
188
,
},
},
{
{
x
:
'
Health & care
'
,
x
:
'
个护健康
'
,
y
:
344
,
y
:
344
,
},
},
{
{
x
:
'
Clothing & bags
'
,
x
:
'
服饰箱包
'
,
y
:
255
,
y
:
255
,
},
},
{
{
x
:
'
Other
'
,
x
:
'
其他
'
,
y
:
65
,
y
:
65
,
},
},
];
];
...
...
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