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

折线图没有绘制出折线 #136

Open
lei1024 opened this issue Apr 29, 2022 · 2 comments
Open

折线图没有绘制出折线 #136

lei1024 opened this issue Apr 29, 2022 · 2 comments

Comments

@lei1024
Copy link

lei1024 commented Apr 29, 2022

当每个点的Y值都一样时,就不会渲染点与点之间的连线
例如:修改示例代码,OnlyRefreshChartDataActivity中
image
异常结果
f4f888e2cec229413d77cee0f3a9b4b

@AAChartModel
Copy link
Owner

AAChartModel commented Apr 29, 2022

如果在折线图在设置渐变色的时候, 同时每个点的 Y 值都一样, Highcharts 本身好像是有这个 bug .

你将折线图的主题颜色改为非渐变色再试试.

@lei1024
Copy link
Author

lei1024 commented Apr 29, 2022

感谢回答,那应该如何设置成非渐变色呢?我尝试了更改主题颜色组和setGradientColorEnable(false),都没有解决这个问题 @AAChartModel

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