删除 Primefaces 折线图中的标签
Remove label in Primefaces Line Chart
我有一个 primefaces 折线图,它出现在图表系列的值之间。
我遵循了 primefaces 文档,但没有显示 "LinearChart",而是显示 "CategoryChart"
我需要禁用这些标签,我该怎么做?
下面是我的图表图片。
line graphic - I want to remove the labels that are embedded in the graph lines
我解决了问题!
我的方法中有以下代码......
lcm.setShowPointLabels(true); // lcm is LineCharModel
它使标签出现在折线图中。
我有一个 primefaces 折线图,它出现在图表系列的值之间。 我遵循了 primefaces 文档,但没有显示 "LinearChart",而是显示 "CategoryChart" 我需要禁用这些标签,我该怎么做? 下面是我的图表图片。
line graphic - I want to remove the labels that are embedded in the graph lines
我解决了问题! 我的方法中有以下代码......
lcm.setShowPointLabels(true); // lcm is LineCharModel
它使标签出现在折线图中。