ChartElementFunction

ChartElementFunction
is an option for charting functions such as BarChart that gives a function to use to generate the primitives for rendering each chart element.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Use a built-in ChartElementFunction:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Construct a custom rendering function:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »