Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

ChartLabels

ChartLabels
is an option for charting functions that specifies what labels should be used for chart elements.

DetailsDetails

  • ChartLabels->{lbl1,lbl2,} uses as a label for the i^(th) element in each dataset.
  • The can be any strings, graphics, or other static or dynamic expressions.
  • None indicates no label. If there are more elements in a dataset than specified, the subsequent are taken to be None.
  • If explicit labeling is specified in a dataset using Labeled, it is added to labeling specified through ChartLabels.
  • Positioning and other effects in labels can be specified using Placed.
  • ChartLabels->Placed[{lbl1,lbl2,},pos] places all the at the position specified by pos.
  • ChartLabels->{spec1,spec2,} uses the successive to specify labels for successive dimensions in nested lists of datasets.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Place labels at the top of each bar:

In[1]:=
Click for copyable input
Out[1]=

Place labels at the outer radial position of each sector:

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)