OBSOLETE BAR CHARTS PACKAGE SYMBOL

BarStyle

As of Version 7.0, BarStyle has been superseded by ChartStyle.

BarStyle
is an option for bar charts that determines the default style for the bars.

DetailsDetails

  • To use BarStyle, you first need to load the Bar Charts Package using Needs["BarCharts`"].
  • If there is only one dataset, the styles are cycled among the bars. If there are multiple datasets, the styles are cycled among the sets.
  • If the value is a function, the function is applied to the height of each bar.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Use a custom color for the chart:

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

For a single set of data, the styles cycle:

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

Use Directive to combine styles:

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

For multiple datasets, each set gets its own style:

In[5]:=
Click for copyable input
Out[5]=
Translate this page: