问题
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