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
You can show only the first 0 characters of the x value (%.0s), what means to hide it. Behind it you can do what you want with the y value in sprintf format.
yourBarChartModel.setDatatipFormat("%.0s%s");