We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
priceMark是自动最高最低最新值,有没有什么办法可以画这么一条线,但是值可以自己设定?
如上描述
The text was updated successfully, but these errors were encountered:
官方文档提到了这个在画布上绘制基础图形的方法,具体参考使用这个方法即可
// 获取基础图形实例 // name为基础图形名字,如,'arc', 'circle'等。 const Figure = klinecharts.getFigureClass(name); // 实例化并绘制 // attrs 属性 // styles 样式 // ctx 画布上下文 new Figure({ attrs, styles }).draw(ctx);
需要绘制线那么使用基础图形:line即可
Sorry, something went wrong.
官方文档提到了这个在画布上绘制基础图形的方法,具体参考使用这个方法即可 // 获取基础图形实例 // name为基础图形名字,如,'arc', 'circle'等。 const Figure = klinecharts.getFigureClass(name); // 实例化并绘制 // attrs 属性 // styles 样式 // ctx 画布上下文 new Figure({ attrs, styles }).draw(ctx); 需要绘制线那么使用基础图形:line即可
@LeeZChuan 谢谢,我尝试下
No branches or pull requests
需求描述
priceMark是自动最高最低最新值,有没有什么办法可以画这么一条线,但是值可以自己设定?
具体实现
如上描述
The text was updated successfully, but these errors were encountered: