同步
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"name" : "链商星球",
|
"name" : "链商星球",
|
||||||
"appid" : "__UNI__1F65101",
|
"appid" : "__UNI__1F65101",
|
||||||
"description" : "安徽星煌,链商星球商家工具",
|
"description" : "安徽星煌,链商星球商家工具",
|
||||||
"versionName" : "1.2.1",
|
"versionName" : "1.2.2",
|
||||||
"versionCode" : 121,
|
"versionCode" : 122,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@@ -1,70 +0,0 @@
|
|||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
config.appendPadding = [10, 30, 10, 15]
|
|
||||||
const chart = new F2.Chart(config);
|
|
||||||
chart.source(data, {
|
|
||||||
date: {
|
|
||||||
range: [0, 1],
|
|
||||||
type: 'timeCat',
|
|
||||||
mask: 'MM-DD'
|
|
||||||
},
|
|
||||||
value: {
|
|
||||||
tickCount: 0
|
|
||||||
}
|
|
||||||
});
|
|
||||||
chart.legend({
|
|
||||||
position: 'bottom',
|
|
||||||
offsetY: 0,
|
|
||||||
offsetX: 30
|
|
||||||
});
|
|
||||||
chart.area()
|
|
||||||
.position('date*value')
|
|
||||||
.color('name', ['#5881d3', '#ca66e0'])
|
|
||||||
.shape('smooth')
|
|
||||||
chart.line()
|
|
||||||
.position('date*value')
|
|
||||||
.color('name', ['#5881d3', '#ca66e0'])
|
|
||||||
.shape('smooth', name => {
|
|
||||||
if (name === '预期收益率') {
|
|
||||||
return 'line';
|
|
||||||
}
|
|
||||||
if (name === '实际收益率') {
|
|
||||||
return 'line';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
=======
|
|
||||||
|
|
||||||
config.appendPadding = [10, 30, 10, 15]
|
|
||||||
const chart = new F2.Chart(config);
|
|
||||||
chart.source(data, {
|
|
||||||
date: {
|
|
||||||
range: [0, 1],
|
|
||||||
type: 'timeCat',
|
|
||||||
mask: 'MM-DD'
|
|
||||||
},
|
|
||||||
value: {
|
|
||||||
tickCount: 0
|
|
||||||
}
|
|
||||||
});
|
|
||||||
chart.legend({
|
|
||||||
position: 'bottom',
|
|
||||||
offsetY: 0,
|
|
||||||
offsetX: 30
|
|
||||||
});
|
|
||||||
chart.area()
|
|
||||||
.position('date*value')
|
|
||||||
.color('name', ['#5881d3', '#ca66e0'])
|
|
||||||
.shape('smooth')
|
|
||||||
chart.line()
|
|
||||||
.position('date*value')
|
|
||||||
.color('name', ['#5881d3', '#ca66e0'])
|
|
||||||
.shape('smooth', name => {
|
|
||||||
if (name === '预期收益率') {
|
|
||||||
return 'line';
|
|
||||||
}
|
|
||||||
if (name === '实际收益率') {
|
|
||||||
return 'line';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
>>>>>>> eba5f5995696e08f67df615fb32054bffa94ae34
|
|
||||||
chart.render();
|
|
||||||
Reference in New Issue
Block a user