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
c4c04e50
Commit
c4c04e50
authored
Dec 03, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图表
parent
dc723ba3
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
64 additions
and
52 deletions
+64
-52
ConsumeChart.js
miniprogram/pages/components/ConsumeChart/ConsumeChart.js
+2
-3
ConsumeChart.ts
miniprogram/pages/components/ConsumeChart/ConsumeChart.ts
+1
-1
ConsumeCountChart.js
...m/pages/components/ConsumeCountChart/ConsumeCountChart.js
+2
-3
ConsumeCountChart.ts
...m/pages/components/ConsumeCountChart/ConsumeCountChart.ts
+1
-1
PayTypeChart.js
miniprogram/pages/components/PayTypeChart/PayTypeChart.js
+23
-6
PayTypeChart.ts
miniprogram/pages/components/PayTypeChart/PayTypeChart.ts
+23
-22
RechargeChart.js
miniprogram/pages/components/RechargeChart/RechargeChart.js
+2
-3
RechargeChart.ts
miniprogram/pages/components/RechargeChart/RechargeChart.ts
+1
-1
RefundChart.js
miniprogram/pages/components/RefundChart/RefundChart.js
+2
-3
RefundChart.ts
miniprogram/pages/components/RefundChart/RefundChart.ts
+1
-1
UserActivityChart.js
...m/pages/components/UserActivityChart/UserActivityChart.js
+2
-3
UserActivityChart.ts
...m/pages/components/UserActivityChart/UserActivityChart.ts
+1
-1
UserGrouthChart.js
...ogram/pages/components/UserGrouthChart/UserGrouthChart.js
+2
-3
UserGrouthChart.ts
...ogram/pages/components/UserGrouthChart/UserGrouthChart.ts
+1
-1
No files found.
miniprogram/pages/components/ConsumeChart/ConsumeChart.js
View file @
c4c04e50
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
consumeChart
.
axis
(
'payableMoney'
,
false
);
consumeChart
.
render
();
consumeChart
.
render
();
return
consumeChart
;
return
consumeChart
;
}
}
...
@@ -70,4 +69,4 @@ Component({
...
@@ -70,4 +69,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uc3VtZUNoYXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiQ29uc3VtZUNoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLFlBQVksR0FBRyxJQUFJLENBQUM7QUFDeEIsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLFlBQVksR0FBRyxJQUFJLEVBQUUsQ0FBQyxLQUFLLENBQUM7UUFDMUIsRUFBRSxFQUFFLE1BQU07UUFDVixLQUFLLE9BQUE7UUFDTCxNQUFNLFFBQUE7S0FDUCxDQUFDLENBQUM7SUFFSCxZQUFZLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRTtRQUN4QixJQUFJLEVBQUU7WUFDSixHQUFHLEVBQUUsQ0FBQztZQUNOLEdBQUcsRUFBRSxFQUFFO1NBQ1I7S0FDRixDQUFDLENBQUM7SUFDSCxZQUFZLENBQUMsT0FBTyxDQUFDO1FBQ25CLGNBQWMsRUFBRSxLQUFLO1FBQ3JCLF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bnN1bWVDaGFydC5jaGFuZ2VEYXRhKG5ld1ZhbCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/ConsumeChart/ConsumeChart.ts
View file @
c4c04e50
...
@@ -44,7 +44,7 @@ function initChart(canvas, width, height, F2) {
...
@@ -44,7 +44,7 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
consumeChart
.
axis
(
'payableMoney'
,
false
);
//
consumeChart.axis('payableMoney', false);
consumeChart
.
render
();
consumeChart
.
render
();
return
consumeChart
;
return
consumeChart
;
}
}
...
...
miniprogram/pages/components/ConsumeCountChart/ConsumeCountChart.js
View file @
c4c04e50
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
consumeCountChart
.
axis
(
'payMen'
,
false
);
consumeCountChart
.
render
();
consumeCountChart
.
render
();
return
consumeCountChart
;
return
consumeCountChart
;
}
}
...
@@ -70,4 +69,4 @@ Component({
...
@@ -70,4 +69,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uc3VtZUNvdW50Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJDb25zdW1lQ291bnRDaGFydC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IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/ConsumeCountChart/ConsumeCountChart.ts
View file @
c4c04e50
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
consumeCountChart
.
axis
(
'payMen'
,
false
);
//
consumeCountChart.axis('payMen', false);
consumeCountChart
.
render
();
consumeCountChart
.
render
();
return
consumeCountChart
;
return
consumeCountChart
;
}
}
...
...
miniprogram/pages/components/PayTypeChart/PayTypeChart.js
View file @
c4c04e50
...
@@ -40,10 +40,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -40,10 +40,6 @@ function initChart(canvas, width, height, F2) {
paytypeChart
.
legend
({
paytypeChart
.
legend
({
position
:
'right'
,
position
:
'right'
,
marker
:
'square'
,
marker
:
'square'
,
onClick
:
function
(
ev
)
{
var
tooltip
=
paytypeChart
.
get
(
'tooltip'
);
console
.
log
(
ev
,
tooltip
);
},
});
});
paytypeChart
paytypeChart
.
interval
()
.
interval
()
...
@@ -65,6 +61,27 @@ Component({
...
@@ -65,6 +61,27 @@ Component({
type
:
Array
,
type
:
Array
,
value
:
[],
value
:
[],
observer
:
function
(
newVal
)
{
observer
:
function
(
newVal
)
{
paytypeChart
&&
paytypeChart
.
legend
({
position
:
'right'
,
marker
:
'square'
,
itemFormatter
:
function
(
val
)
{
var
item
=
newVal
.
find
(
function
(
item
)
{
return
item
.
name
===
val
;
});
if
(
item
)
{
var
name_1
=
item
.
name
;
if
(
item
&&
item
.
name
.
length
<
4
)
{
name_1
+=
'
\
xa0
\
xa0
\
xa0'
;
}
return
name_1
+
' '
+
util_1
.
formatPrice
(
item
.
count
);
}
else
{
return
''
;
}
},
onClick
:
function
(
ev
)
{
console
.
log
(
ev
,
paytypeChart
);
},
});
paytypeChart
&&
paytypeChart
.
changeData
(
newVal
);
paytypeChart
&&
paytypeChart
.
changeData
(
newVal
);
},
},
},
},
...
@@ -82,4 +99,4 @@ Component({
...
@@ -82,4 +99,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGF5VHlwZUNoYXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiUGF5VHlwZUNoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQWtEO0FBR2xELElBQUksWUFBWSxHQUFHLElBQUksQ0FBQztBQUN4QixJQUFJLEtBQUssR0FBRyxFQUFFLENBQUM7QUFDZixJQUFNLFFBQVEsR0FBRztJQUNmLElBQUksRUFBRSxTQUFTO0lBQ2YsSUFBSSxFQUFFLFNBQVM7SUFDZixRQUFRLEVBQUUsU0FBUztJQUNuQixNQUFNLEVBQUUsU0FBUztDQUNsQixDQUFDO0FBRUYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLFlBQVksR0FBRyxJQUFJLEVBQUUsQ0FBQyxLQUFLLENBQUM7UUFDMUIsRUFBRSxFQUFFLE1BQU07UUFDVixLQUFLLE9BQUE7UUFDTCxNQUFNLFFBQUE7UUFDTixPQUFPLEVBQUUsQ0FBQyxNQUFNLEVBQUUsTUFBTSxFQUFFLEVBQUUsRUFBRSxNQUFNLENBQUM7S0FDdEMsQ0FBQyxDQUFDO0lBRUgsWUFBWSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUU7UUFDeEIsSUFBSSxFQUFFO1lBQ0osR0FBRyxFQUFFLENBQUM7W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JiBpdGVtLm5hbWUubGVuZ3RoIDwgNCkge1xuICAgICAgICAvLyAgICAgICAgICAgbmFtZSArPSAnXFx4YTBcXHhhMFxceGEwJztcbiAgICAgICAgLy8gICAgICAgICB9XG4gICAgICAgIC8vICAgICAgICAgcmV0dXJuIG5hbWUgKyAnICAgJyArIGZvcm1hdFByaWNlKGl0ZW0uY291bnQpO1xuICAgICAgICAvLyAgICAgICB9IGVsc2Uge1xuICAgICAgICAvLyAgICAgICAgIHJldHVybiAnJztcbiAgICAgICAgLy8gICAgICAgfVxuICAgICAgICAvLyAgICAgfSxcbiAgICAgICAgLy8gICB9KTtcbiAgICAgICAgcGF5dHlwZUNoYXJ0ICYmIHBheXR5cGVDaGFydC5jaGFuZ2VEYXRhKG5ld1ZhbCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGF5VHlwZUNoYXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiUGF5VHlwZUNoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQWtEO0FBR2xELElBQUksWUFBWSxHQUFHLElBQUksQ0FBQztBQUN4QixJQUFJLEtBQUssR0FBRyxFQUFFLENBQUM7QUFDZixJQUFNLFFBQVEsR0FBRztJQUNmLElBQUksRUFBRSxTQUFTO0lBQ2YsSUFBSSxFQUFFLFNBQVM7SUFDZixRQUFRLEVBQUUsU0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gICAgICAgICAgICBuYW1lICs9ICdcXHhhMFxceGEwXFx4YTAnO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gbmFtZSArICcgICAnICsgZm9ybWF0UHJpY2UoaXRlbS5jb3VudCk7XG4gICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuICcnO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgb25DbGljazogZXYgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhldiwgcGF5dHlwZUNoYXJ0KTtcbiAgICAgICAgICAgICAgLy8gbGV0IHBvaW50ID0gcGF5dHlwZUNoYXJ0LmdldFhZKGNsaWNrZWRJdGVtKTtcbiAgICAgICAgICAgICAgLy8gcGF5dHlwZUNoYXJ0LnNob3dUb29sdGlwKHBvaW50KTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSk7XG4gICAgICAgIHBheXR5cGVDaGFydCAmJiBwYXl0eXBlQ2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xuICAgICAgfSxcbiAgICB9LFxuICAgIG1vbnRoOiB7XG4gICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICB2YWx1ZTogJycsXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG4gIGRhdGE6IHtcbiAgICBvcHRzOiB7XG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/PayTypeChart/PayTypeChart.ts
View file @
c4c04e50
...
@@ -50,11 +50,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -50,11 +50,6 @@ function initChart(canvas, width, height, F2) {
paytypeChart
.
legend
({
paytypeChart
.
legend
({
position
:
'right'
,
position
:
'right'
,
marker
:
'square'
,
marker
:
'square'
,
onClick
:
ev
=>
{
const
tooltip
=
paytypeChart
.
get
(
'tooltip'
);
console
.
log
(
ev
,
tooltip
);
// paytypeChart.
},
});
});
paytypeChart
paytypeChart
.
interval
()
.
interval
()
...
@@ -93,23 +88,29 @@ Component({
...
@@ -93,23 +88,29 @@ Component({
type
:
Array
,
type
:
Array
,
value
:
[],
value
:
[],
observer
(
newVal
)
{
observer
(
newVal
)
{
// paytypeChart &&
paytypeChart
&&
// paytypeChart.legend({
paytypeChart
.
legend
({
// position: 'right',
position
:
'right'
,
// marker: 'square',
marker
:
'square'
,
// itemFormatter: val => {
// custom: true,
// let item = newVal.find(item => item.key === val);
itemFormatter
:
val
=>
{
// if (item) {
let
item
=
newVal
.
find
(
item
=>
item
.
name
===
val
);
// let name = item.name;
if
(
item
)
{
// if (item && item.name.length < 4) {
let
name
=
item
.
name
;
// name += '\xa0\xa0\xa0';
if
(
item
&&
item
.
name
.
length
<
4
)
{
// }
name
+=
'
\
xa0
\
xa0
\
xa0'
;
// return name + ' ' + formatPrice(item.count);
}
// } else {
return
name
+
' '
+
formatPrice
(
item
.
count
);
// return '';
}
else
{
// }
return
''
;
// },
}
// });
},
onClick
:
ev
=>
{
console
.
log
(
ev
,
paytypeChart
);
// let point = paytypeChart.getXY(clickedItem);
// paytypeChart.showTooltip(point);
},
});
paytypeChart
&&
paytypeChart
.
changeData
(
newVal
);
paytypeChart
&&
paytypeChart
.
changeData
(
newVal
);
},
},
},
},
...
...
miniprogram/pages/components/RechargeChart/RechargeChart.js
View file @
c4c04e50
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
rechargeChart
.
axis
(
'rechargeMoney'
,
false
);
rechargeChart
.
render
();
rechargeChart
.
render
();
return
rechargeChart
;
return
rechargeChart
;
}
}
...
@@ -70,4 +69,4 @@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file
\ No newline at end of file
miniprogram/pages/components/RechargeChart/RechargeChart.ts
View file @
c4c04e50
...
@@ -44,7 +44,7 @@ function initChart(canvas, width, height, F2) {
...
@@ -44,7 +44,7 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
rechargeChart
.
axis
(
'rechargeMoney'
,
false
);
//
rechargeChart.axis('rechargeMoney', false);
rechargeChart
.
render
();
rechargeChart
.
render
();
return
rechargeChart
;
return
rechargeChart
;
}
}
...
...
miniprogram/pages/components/RefundChart/RefundChart.js
View file @
c4c04e50
...
@@ -51,7 +51,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -51,7 +51,6 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
refundChart
.
axis
(
'refundMoney'
,
false
);
refundChart
.
render
();
refundChart
.
render
();
return
refundChart
;
return
refundChart
;
}
}
...
@@ -79,4 +78,4 @@ Component({
...
@@ -79,4 +78,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVmdW5kQ2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJSZWZ1bmRDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFDQSxJQUFJLFdBQVcsR0FBRyxJQUFJLENBQUM7QUFDdkIsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLFdBQVcsR0FBRyxJQUFJLEVBQUUsQ0FBQyxLQUFLLENBQUM7UUFDekIsRUFBRSxFQUFFLE1BQU07UUFDVixLQUFLLE9BQUE7UUFDTCxNQUFNL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nKVxuICAgIC5zaXplKDQpO1xuICByZWZ1bmRDaGFydFxuICAgIC5hcmVhKClcbiAgICAucG9zaXRpb24oJ2RheXMqcmVmdW5kTW9uZXknKVxuICAgIC5jb2xvcignbCg5MCkgMDojZjE2NmZkIDE6I2ZmZicpXG4gICAgLnNoYXBlKCdzbW9vdGgnKVxuICAgIC5zdHlsZSh7XG4gICAgICBmaWxsT3BhY2l0eTogMC42LFxuICAgIH0pO1xuICByZWZ1bmRDaGFydC5heGlzKCdyZWZ1bmRNb25leScsIGZhbHNlKTtcbiAgcmVmdW5kQ2hhcnQucmVuZGVyKCk7XG4gIHJldHVybiByZWZ1bmRDaGFydDtcbn1cblxuQ29tcG9uZW50KHtcbiAgcHJvcGVydGllczoge1xuICAgIGRhdGFMaXN0OiB7XG4gICAgICB0eXBlOiBBcnJheSxcbiAgICAgIHZhbHVlOiBbXSxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBsZXQgbGlzdCA9IG5ld1ZhbC5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgIC4uLml0ZW0sXG4gICAgICAgICAgcmVmdW5kTW9uZXk6IE1hdGguYWJzKGl0ZW0ucmVmdW5kTW9uZXkpLFxuICAgICAgICB9KSk7XG4gICAgICAgIHJlZnVuZENoYXJ0ICYmIHJlZnVuZENoYXJ0LmNoYW5nZURhdGEobGlzdCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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nVuZENoYXJ0ICYmIHJlZnVuZENoYXJ0LmNoYW5nZURhdGEobGlzdCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/RefundChart/RefundChart.ts
View file @
c4c04e50
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
refundChart
.
axis
(
'refundMoney'
,
false
);
//
refundChart.axis('refundMoney', false);
refundChart
.
render
();
refundChart
.
render
();
return
refundChart
;
return
refundChart
;
}
}
...
...
miniprogram/pages/components/UserActivityChart/UserActivityChart.js
View file @
c4c04e50
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
userActivityChart
.
axis
(
'count'
,
false
);
userActivityChart
.
render
();
userActivityChart
.
render
();
return
userActivityChart
;
return
userActivityChart
;
}
}
...
@@ -70,4 +69,4 @@ Component({
...
@@ -70,4 +69,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXNlckFjdGl2aXR5Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJVc2VyQWN0aXZpdHlDaGFydC50cyJdLC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Ckge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/UserActivityChart/UserActivityChart.ts
View file @
c4c04e50
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
userActivityChart
.
axis
(
'count'
,
false
);
//
userActivityChart.axis('count', false);
userActivityChart
.
render
();
userActivityChart
.
render
();
return
userActivityChart
;
return
userActivityChart
;
}
}
...
...
miniprogram/pages/components/UserGrouthChart/UserGrouthChart.js
View file @
c4c04e50
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
...
@@ -43,7 +43,6 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
userGrouthChart
.
axis
(
'count'
,
false
);
userGrouthChart
.
render
();
userGrouthChart
.
render
();
return
userGrouthChart
;
return
userGrouthChart
;
}
}
...
@@ -70,4 +69,4 @@ Component({
...
@@ -70,4 +69,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXNlckdyb3V0aENoYXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiVXNlckdyb3V0aENoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxJQUFJLGVBQWUsR0FBRyxJQUFJLENBQUM7QUFDM0IsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFB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sb3IoJyM2ODk1ZmUnKVxuICAgIC5zaGFwZSgnc21vb3RoJylcbiAgICAuc2l6ZSg0KTtcbiAgdXNlckdyb3V0aENoYXJ0XG4gICAgLmFyZWEoKVxuICAgIC5wb3NpdGlvbignZGF5cypjb3VudCcpXG4gICAgLmNvbG9yKCdsKDkwKSAwOiM2ODk1ZmUgMTojZmZmJylcbiAgICAuc2hhcGUoJ3Ntb290aCcpXG4gICAgLnN0eWxlKHtcbiAgICAgIGZpbGxPcGFjaXR5OiAwLjYsXG4gICAgfSk7XG4gIC8vIHVzZXJHcm91dGhDaGFydC5heGlzKCdjb3VudCcsIGZhbHNlKTtcbiAgdXNlckdyb3V0aENoYXJ0LnJlbmRlcigpO1xuICByZXR1cm4gdXNlckdyb3V0aENoYXJ0O1xufVxuXG5Db21wb25lbnQoe1xuICBwcm9wZXJ0aWVzOiB7XG4gICAgZGF0YUxpc3Q6IHtcbiAgICAgIHR5cGU6IEFycmF5LFxuICAgICAgdmFsdWU6IFtdLFxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XG4gICAgICAgIHVzZXJHcm91dGhDaGFydCAmJiB1c2VyR3JvdXRoQ2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xuICAgICAgfSxcbiAgICB9LFxuICAgIG1vbnRoOiB7XG4gICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICB2YWx1ZTogJycsXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG4gIGRhdGE6IHtcbiAgICBvcHRzOiB7XG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcbiAgICB9LFxuICB9LFxufSk7XG5cbiJdfQ==
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/UserGrouthChart/UserGrouthChart.ts
View file @
c4c04e50
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
...
@@ -45,7 +45,7 @@ function initChart(canvas, width, height, F2) {
.
style
({
.
style
({
fillOpacity
:
0.6
,
fillOpacity
:
0.6
,
});
});
userGrouthChart
.
axis
(
'count'
,
false
);
//
userGrouthChart.axis('count', false);
userGrouthChart
.
render
();
userGrouthChart
.
render
();
return
userGrouthChart
;
return
userGrouthChart
;
}
}
...
...
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