# stacked_bar_chart Icon

> The stacked_bar_chart icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/stacked_bar_chart.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/stacked_bar_chart.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/stacked_bar_chart.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/stacked_bar_chart.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/stacked_bar_chart.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/stacked_bar_chart.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/stacked_bar_chart.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialSymbolsStackedBarChart: ImageVector
    get() {
        if (_MaterialSymbolsStackedBarChart != null) return _MaterialSymbolsStackedBarChart!!
        
        _MaterialSymbolsStackedBarChart = ImageVector.Builder(
            name = "stacked_bar_chart",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(160f, 800f)
                verticalLineToRelative(-440f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(440f)
                horizontalLineTo(160f)
                close()
                moveToRelative(0f, -480f)
                verticalLineToRelative(-160f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(160f)
                horizontalLineTo(160f)
                close()
                moveToRelative(240f, 480f)
                verticalLineToRelative(-320f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(320f)
                horizontalLineTo(400f)
                close()
                moveToRelative(0f, -360f)
                verticalLineToRelative(-160f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(160f)
                horizontalLineTo(400f)
                close()
                moveToRelative(240f, 360f)
                verticalLineToRelative(-200f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(200f)
                horizontalLineTo(640f)
                close()
                moveToRelative(0f, -240f)
                verticalLineToRelative(-160f)
                horizontalLineToRelative(160f)
                verticalLineToRelative(160f)
                horizontalLineTo(640f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsStackedBarChart!!
    }

private var _MaterialSymbolsStackedBarChart: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/stacked_bar_chart.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M160,800v-440h160v440H160Zm0,-480v-160h160v160H160Zm240,480v-320h160v320H400Zm0,-360v-160h160v160H400Zm240,360v-200h160v200H640Zm0,-240v-160h160v160H640Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-symbols/stacked_bar_chart.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M160-160v-440h160v440H160Zm0-480v-160h160v160H160Zm240 480v-320h160v320H400Zm0-360v-160h160v160H400Zm240 360v-200h160v200H640Zm0-240v-160h160v160H640Z"/></svg>
```
