kevinzhow / PNChart

A simple and beautiful chart lib used in Piner and CoinsMan for iOS
MIT License
9.71k stars 1.76k forks source link

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

Open wongshouxin opened 6 years ago

wongshouxin commented 6 years ago

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

wongshouxin commented 6 years ago

@kevinzhow

RiberWang commented 5 years ago

same

wongshouxin commented 5 years ago

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

same

RiberWang commented 5 years ago

写到哪里?

wongshouxin commented 5 years ago

写到哪里?

warning - 修改

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

RiberWang commented 5 years ago

好的 谢谢了 准备引入Charts了

RiberWang commented 5 years ago

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