January 2013
Intermediate to advanced
328 pages
7h 14m
English
The bubbleChart component renders the data points displayed as colored circles with an optional text label inside.
A simple definition for a bubble chart to list public road mileage, the number of fatal crashes, and average annual daily traffic for a list of states is given as follows:
<p:bubbleChart value="#{bubbleChartController.model}" style="height:250px" xaxisLabel="Number of Fatal Crashes" yaxisLabel="Public Road Mileage" />The chart will be rendered as shown in the following screenshot:

The model that binds to the component should be an instance of org.primefaces.model.chart.BubbleChartModel.
BubbleChartModel ...
Read now
Unlock full access