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

如果价格进度过大 为同一个数 导致崩溃 #38

Open
qrh672114236 opened this issue Jan 11, 2019 · 5 comments
Open

如果价格进度过大 为同一个数 导致崩溃 #38

qrh672114236 opened this issue Jan 11, 2019 · 5 comments

Comments

@qrh672114236
Copy link

No description provided.

@qrh672114236
Copy link
Author

细化下问题 就是我们涨幅的可能不大 画直线的画传一个值会导致drawpath 崩溃

@qrh672114236
Copy link
Author

看了下没有崩溃 只是线画不出来 Y轴的数据 都为同一个

@scsfwgy
Copy link
Member

scsfwgy commented Jan 15, 2019

会渲染的,参看{@link MasterView#drawCandleViewProcess(Canvas, float, int, Quotes)} 873行//上下边界一样,设置一个偏移值 if (topRectY == bottomRectY) bottomRectY += 1; 这一块又细化了一下,y轴开盘价和收盘价一致时单独设置一个颜色,参考MP,代码已经push

@qrh672114236
Copy link
Author

您好 这边蜡烛图改好了 ,可是如果 c 和 O 设置相同的值 ,折线图是不会绘制的 `而且Y轴的数据会变成同一个值

@qrh672114236
Copy link
Author

是整个数据的所有 c和O 设置同一个值

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