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

怎么去除PNChart中为0的点 #437

Open
wongshouxin opened this issue May 7, 2018 · 7 comments
Open

怎么去除PNChart中为0的点 #437

wongshouxin opened this issue May 7, 2018 · 7 comments

Comments

@wongshouxin
Copy link

直线图中有0的数值时候,怎么去除0的点,让其他的点连接呈现,跨点连接.
目前PNChart中有0的点的时候,还会在图中展现.

@wongshouxin
Copy link
Author

@kevinzhow

@RiberWang
Copy link

same

@wongshouxin
Copy link
Author

//添加画的点如果大于0 添加圆点,小于等于0 不添加点
if (value>0) {
[self addSubview:label];
[self addSubview:view];
}

same

@RiberWang
Copy link

写到哪里?

@wongshouxin
Copy link
Author

写到哪里?

#warning - 修改
//添加点 在这里屏蔽 if(isHollow){} else{} 可以打开Y值的显示

  • (void)addPoint:(CGPoint)point index:(NSInteger)index isShow:(BOOL)isHollow value:(CGFloat)value

@RiberWang
Copy link

好的 谢谢了 准备引入Charts了

@RiberWang
Copy link

@wongshouxin 我在工程中怎么没有搜到这句话呢

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