({{, (RefLink[ChartLabels, paclet:ref/ChartLabels]) 
is an option for charting functions that specifies what labels should be used for chart elements.}})

OpenersNotesSection(Spacer1)Details

(RefLink[ChartLabels, paclet:ref/ChartLabels])->{(Subscript[lbl, 1]),(Subscript[lbl, 2]),…} uses (Subscript[lbl, i]) as a label for the i(^th) element in each dataset.

The (Subscript[lbl, i]) can be any strings, graphics, or other static or dynamic expressions.

(RefLink[None, paclet:ref/None]) indicates no label. If there are more elements in a dataset than (Subscript[lbl, i]) specified, the subsequent (Subscript[lbl, i]) are taken to be (RefLink[None, paclet:ref/None]).

If explicit labeling is specified in a dataset using (RefLink[Labeled, paclet:ref/Labeled]), it is added to labeling specified through (RefLink[ChartLabels, paclet:ref/ChartLabels]).

Positioning and other effects in labels can be specified using (RefLink[Placed, paclet:ref/Placed]).

(RefLink[ChartLabels, paclet:ref/ChartLabels])->(RefLink[Placed, paclet:ref/Placed])[{(Subscript[lbl, 1]),(Subscript[lbl, 2]),…},pos] places all the (Subscript[lbl, i]) at the position specified by pos.

(RefLink[ChartLabels, paclet:ref/ChartLabels])->{(Subscript[spec, 1]),(Subscript[spec, 2]),…} uses the successive (Subscript[spec, i]) to specify labels for successive dimensions in nested lists of datasets.

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Place labels at the top of each bar:

BarChart[{1,2,3},ChartLabels->Placed[{"a","b","c"},Top]]

Place labels at the outer radial position of each sector:

PieChart[{1,2,3},ChartLabels->Placed[{"a","b","c"},"RadialOuter"]]

Place row labels above the group bars and column labels at the top of each bar:

BarChart[{Range[3],Range[3]},ChartLabels->{Placed[{"1","2"},Above],Placed[{"a","b","c"},Top]}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[LabelingFunction, paclet:ref/LabelingFunction])  ▪  (RefLink[Labeled, paclet:ref/Labeled])  ▪  (RefLink[Callout, paclet:ref/Callout])  ▪  (RefLink[LabelingSize, paclet:ref/LabelingSize])  ▪  (RefLink[ChartLegends, paclet:ref/ChartLegends])  ▪  (RefLink[ChartStyle, paclet:ref/ChartStyle])  ▪  (RefLink[PlotLabel, paclet:ref/PlotLabel])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Charting and Information Visualization, paclet:guide/ChartingAndInformationVisualization])}, {▪(RefLinkPlain[Chart Labeling, Legending & Annotation, paclet:guide/ChartLabelingLegendingAndAnnotation])}, {▪(RefLinkPlain[Labels, paclet:guide/Labels])}, {▪(RefLinkPlain[Chart Styling & Layout, paclet:guide/ChartLayoutAndStyling])}})}})