简体   繁体   中英

Remove label in Primefaces Line Chart

I have a primefaces line chart that appears between the graph series its values. I followed the primefaces documentation, but instead of showing the "LinearChart", it shows "CategoryChart" I need to disable these labels, how do I do this? Below image of my chart.

line graphic - I want to remove the labels that are embedded in the graph lines

I solved the problem! There was the following code in my method ...

lcm.setShowPointLabels(true); // lcm is LineCharModel

It made appear the labels in line chart.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM