Pointlabels not displaying when data point is at maximum

我怕爱的太早我们不能终老 提交于 2019-12-24 04:16:06

问题


I have the following graph: http://synicworld.com/media/graph.png

Is there a way to get the pointlabel to show on the bars that have maximum value?


回答1:


pointLabels {
    edgeTolerance: 100
}

Looks like it's just edgeTolerance, which I had tried before, but not with a value high enough.




回答2:


pointLabels { edgeTolerance: -20 }

This will allow rendering of point labels even if they're too close to the edge. The negative value means there might be overlap onto the chart.



来源:https://stackoverflow.com/questions/12607226/pointlabels-not-displaying-when-data-point-is-at-maximum

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!