# Bar

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN-_0E6V6a4pECETt%2Fbar.png?generation=1586795453069279\&alt=media)

## Column Assignments

* Orientation - You can choose a chart orientation. Either 'Vertical' or 'Horizontal'.
* X-Axis - Assign a column you want to show at X-Axis. If it's a Date / Time column assigned, you can select the aggregation level such as `Month`, `Week`, `Day`, etc. If you assign a Number column, you can choose either `As Number` to treat values as continuous values or `As Text` to treat values as categorical values.
* Y-Axis - Assign a column you want to show at Y-Axis. If it's a Numeric column assigned, you can set the aggregation function such as `Sum`, `Mean (Average)`, etc. to aggregate the values. You can also assign a Window Calculation from the gear icon on Y-Axis. Look at [Window Calculation](https://docs.exploratory.io/visualization/features/window-calc) section for details.
* Color - Take a look at [Color](https://docs.exploratory.io/visualization/features/color) section for more details.
* Sort By - Assign a column to use for Sorting the X-Axis values. The default is based on either the alphabetic order or the factor level order for Factor type columns.
* Repeat By - You can assign a column to repeat the chart for each of its values. Take a look at [Repeat By](https://docs.exploratory.io/visualization/features/small-multiple) section for more details.

You can assign multiple columns to Y-Axis. Take a look at [Multiple Y-Axis](https://docs.exploratory.io/visualization/features/multi-y) section for more details.

## Orientation - Vertical vs. Horizontal

You can select from one of the following orientations. The default is `Vertical`.

### Vertical

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN-_2GnJtI7EL7lU7%2Fbar-vertical.png?generation=1586795453316472\&alt=media)

### Horizontal

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN-_4Z9OTAffPBsKr%2Fbar-horiz.png?generation=1586795453358099\&alt=media)

* In this orientation type, X-Axis goes vertically and Y-Axis goes horizontally in order to make it easy to switch between horizontal and vertical orientation.
* At this moment, the horizontal orientation doesn't support [Repeat By](https://docs.exploratory.io/visualization/features/small-multiple).

## Bar Type - Stacked vs. Grouped

You can select from one of the following bar types. The default is `Stacked`.

### Stacked

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN-_6yYvcaqSHsKjg%2Fbar-stacked.png?generation=1586795453226628\&alt=media)

### Grouped

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN-_8AQtwmI-PdE-5%2Fbar-grouped.png?generation=1586795462718460\&alt=media)

## Reference Line

Take a look at [Reference Line](https://docs.exploratory.io/visualization/features/reference-line) section for more details.

## Highlight

You can change the color of the specific markers such as bars, lines or circles that you pick to stand out from others. See [Highlight](https://docs.exploratory.io/visualization/features/highlight-1) for the detail.

## Category

You can categorize numeric values inside the chart. See [Category(Binning)](https://docs.exploratory.io/visualization/features/category) for the detail.

## Limit Values

You can use Limit Values to filter the categories by the aggregated values. It is on by default for X-Axis. See [Limit Values](https://docs.exploratory.io/visualization/features/limit) for the detail.

## 'Others' Group

If you have many categories, you can reduce the number of categories by changing some category names to 'Others' using the 'Others' Group feature. See ['Others' Group](https://docs.exploratory.io/visualization/features/others-group) for the detail.

## Custom Function

You can use the Custom Function feature to define your own aggregation function. See [Custom Function](https://github.com/exploratory-io/book/blob/master/viz/custom-function.md) for the detail.

## Missing Value Handling

You can use the Missing Value Handling feature to control missing values. See [Missing Value Handling](https://docs.exploratory.io/visualization/features/missing-value-handling) for the detail.

## Rename Column Names

You can use the Rename Column Names feature to update column names if you assign multiple columns to Y-Axis. See [Rename Column Names](https://docs.exploratory.io/visualization/features/rename-column-names) for the detail.

## Axis Setting

You can use the Axis Setting feature to assign columns to Y1/Y2 axes if you assign multiple columns to Y-Axis. See [Axis Setting](https://docs.exploratory.io/visualization/features/dualy-setting) for the detail.

## Show Detail

You can show the detailed data underlying the chart by clicking the chart figure. See [Show Detail](https://docs.exploratory.io/visualization/features/show-detail) for the detail.

## Layout Configuration

Take a look at [Layout Configuration](https://docs.exploratory.io/visualization/features/layout) on how to configure the layout and format.

## Save as an Image

You can save the chart as an image file. See [Save as PNG/SVG](https://docs.exploratory.io/visualization/features/save) for more details.
