Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App端的走势图,不显示均线 #174

Open
zyf540860996 opened this issue Dec 4, 2023 · 5 comments
Open

App端的走势图,不显示均线 #174

zyf540860996 opened this issue Dec 4, 2023 · 5 comments

Comments

@zyf540860996
Copy link

配置如下

this.MinuteOption = {
Type: '分钟走势图',
Symbol: this.symbol,
IsAutoUpate: false,
CorssCursorTouchEnd: true,
IsFullDraw: true,
Windows: [],
MinuteLine: {
IsDrawAreaPrice: true,
IsShowAveragePrice: true
},
Border: {
Left: 0,
Right: 0, //右边间距
Top: 0,
Bottom: 20
},
Frame: [{ SplitCount: 6 }],
MinuteTitle: {
IsShow: true,
IsShowName: false,
LineCount: 2
},
ExtendChart: [{ Name: 'MinuteTooltip' }]
}

分时数据格式
{
"name": "",
"symbol": "300781.sz",
"amount": 513946190.24,
"avprice": 36.29,
"date": "",
"high": 36.29,
"increase": 6.05,
"low": 33.8,
"open": 33.98,
"preClose": 30.24,
"price": 36.29,
"risefall": 20.01,
"time": 959,
"vol": 144359.58,
"yclose": 33.98,
"minute": [
{
"amount": 514156672.24,
"avprice": 36.29,
"date": "",
"high": 36.29,
"increase": 6.05,
"low": 33.8,
"open": 33.98,
"preClose": 30.24,
"price": 36.29,
"risefall": 20.01,
"time": 1000,
"vol": 144417.58
}
]
}

不知道哪里没有配置成功,对比了 webhqchart.demo/samples/chart_minute_phone.html 文件

@zyf540860996
Copy link
Author

{ code: 0, stock: [{time, date, minute: []}] }

这 stock.time 是昨天的收盘时间么,还有 date是 当前开盘日期还是收盘日期

@zyf540860996
Copy link
Author

使用样例数据 均线显示了,但是对了数据,字段数据全是一样,并不缺少

@jones2000
Copy link
Owner

{ code: 0, stock: [{time, date, minute: []}] }

这 stock.time 是昨天的收盘时间么,还有 date是 当前开盘日期还是收盘日期

当天的日期和最新的行情数据时间

@jones2000
Copy link
Owner

使用样例数据 均线显示了,但是对了数据,字段数据全是一样,并不缺少

你把你的数据填到样本数据里 试试看吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants