Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Charting and Information Visualization > Chart Labeling, Legending & Annotation >
Mathematica > Visualization and Graphics > Data Visualization > Charting and Information Visualization > Chart Labeling, Legending & Annotation >

ChartLabels

ChartLabels
is an option for charting functions that specifies what labels should be used for chart elements.
  • ChartLabels->{lab1, lab2, ...} uses labi as a label for the i^(th) element in each dataset.
  • The labi can be any strings, graphics, or other static or dynamic expressions.
  • None indicates no label. If there are more elements in a dataset than labi specified, the subsequent labi 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[{lab1, lab2, ...}, pos] places all the labi at the position specified by pos.
  • ChartLabels->{spec1, spec2, ...} uses the successive speci to specify labels for successive dimensions in nested lists of datasets.
Place labels at the top of each bar:
Place labels at the outer radial position of each sector:
Place row labels above the group bars and column labels at the top of each bar:
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]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team