---
Product: Aspose.Cells
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/typescript/databarrule
---

# DataBarRule

## Overview

`DataBarRule` is an interface in Aspose.Cells FOSS for TypeScript.

Properties: `color`, `direction`, `maxValue`, `minValue`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `color` | `: string` | Read | Gets the color. |
| `minValue` | `: number` | Read | Gets the min value. |
| `maxValue` | `: number` | Read | Gets the max value. |
| `direction` | `: "leftToRight" \| "rightToLeft"` | Read | Gets the direction. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)