Defines how labels are displayed.
Depending on what component wraps it, <apex:chartLabel> gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels.
Note: This component must be enclosed by a data series component (<apex:barSeries>, <apex:lineSeries>, or <apex:pieSeries>) or an <apex:axis> component.
Click on the arrows to vote for the correct answer
A. B. C. D.C.
The correct answer is C. apex:chartLabel.
The apex:chartLabel component is used to define how labels are displayed in a chart. Depending on the type of chart component that it is wrapped by, this component gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels.
The apex:chartLabel component must be enclosed by a data series component such as apex:barSeries, apex:lineSeries, or apex:pieSeries, or an apex:axis component. This is because the apex:chartLabel component is used to define the labels for a specific data series or axis in the chart.
For example, if you want to change the labels for the pie chart segments in a chart, you would use the apex:chartLabel component wrapped by the apex:pieSeries component. Similarly, if you want to change the labels for the X-axis or Y-axis in a chart, you would use the apex:chartLabel component wrapped by the apex:axis component.
Overall, the apex:chartLabel component is a useful tool for customizing the labels in a chart and making it more visually appealing and informative for end-users.