PrimeFaces 3.4 Charts datatipFormat

前端 未结 5 1416
别那么骄傲
别那么骄傲 2020-12-09 12:41

today I wanted to try the new PrimeFaces release 3.4.RC1. For charts there is a new attribute called datatipFormat.

I want to show only the value (y-axis) in a line

5条回答
  •  离开以前
    2020-12-09 13:00

    datatipFormat uses sprintf to format the string for the tooltip, so you can print only the second parameter (y-axis):

    
    

提交回复
热议问题