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
web端不支持强制横屏模式的问题 #74
Comments
在竖屏画布上把横屏线段画上去就可以. 除了文字需要旋转,其他的都是线段直接根据横屏的画就可以了. |
这是HQCharts源码的vuehqchart\src\jscommon\umychart.vue\umychart.vue.js :15700处的代码:
这是我自己仿造这样坐标转换的代码实现:
这是我自己写的矩形图的转换代码:
还是说HQCharts做了别的转换吗? 实在感到困惑!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想知道既然web端不支持强制横屏模式, dom元素可以通过css3的translate方式旋转90度达到切换横屏效果, hqChart到底是什么方式实现canvas横屏模式的呢? 自己使用原生canvas实现过简单的k线绘制
The text was updated successfully, but these errors were encountered: