I am trying to make a barLine chart in jsf using the jspx.

Now the problem with that is that I want to make my chart such that if I don't have any y values for the bar then it should not display the line for that particular bar.

Please suggest me the solution regarding this.
And also suggest any other chart type in jsf which can provide me such facility.