# Appearance

The colors of the Chart are derived from the active [KendoReact theme](https://github.com/telerik/kendo-themes). For customization of the themes, refer to the [customizing themes](https://www.telerik.com/kendo-react-ui/components/styling) article.

## Setting the Dimensions

By default, the Chart is 400px high and as wide as its container. To set the dimensions of the Chart, use inline styles and CSS.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/styling/dimensions/func/source.txt)

# Using Series Color from Themes v4

The 5.0 release of the Kendo Themes features an updated color palette for the chart series.

To revert to the series colors from version 4.x, you can:

* Use the `default-dataviz-v4`, `bootstrap-dataviz-v4` or `material-dataviz-v4` swatches.

```ts
import '@progress/kendo-theme-default/dist/default-dataviz-v4.css';

// or
import '@progress/kendo-theme-bootstrap/dist/bootstrap-dataviz-v4.css';

// or
import '@progress/kendo-theme-material/dist/material-dataviz-v4.css';
```

* Use [SCSS variables](https://www.telerik.com/kendo-react-ui/components/styling/customizing) to revert the series colors to their previous defaults:

  * `kendo-theme-default`:

  ```scss
  // Default v4
  $series-a: #ff6358;
  $series-b: #ffd246;
  $series-c: #78d237;
  $series-d: #28b4c8;
  $series-e: #2d73f5;
  $series-f: #aa46be;

  @import 'all.scss';
  ```

  * `kendo-theme-bootstrap`:

  ```scss
  // Bootstrap v4
  $series-a: #0275d8;
  $series-b: #5bc0de;
  $series-c: #5cb85c;
  $series-d: #f0ad4e;
  $series-e: #e67d4a;
  $series-f: #d9534f;

  @import 'all.scss';
  ```

  * `kendo-theme-material`:

  ```scss
  // Material v4
  $series-a: #3f51b5;
  $series-b: #2196f3;
  $series-c: #43a047;
  $series-d: #ffc107;
  $series-e: #ff5722;
  $series-f: #e91e63;

  @import 'all.scss';
  ```

- Use the [`seriesColors`](https://www.telerik.com/kendo-react-ui/components/charts/api/chart) prop on individual Chart instances:

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/styling/v4-series-colors/func/source.txt)

## Using Pattern Fills

In addition to solid colors, the Chart series can also be filled with repeating patterns by using the series item [`pattern`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#pattern) property.

> The pattern inherits the series [`color`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#color) as main color and accepts an optional `background` color.

The following customizable pattern fills are available:

* [Crosshatch Pattern](https://www.telerik.com/kendo-react-ui/components/charts/api/crosshatchpattern)—Uses crisscrossing lines to form a grid-like pattern.
* [Diagonal Stripes Pattern](https://www.telerik.com/kendo-react-ui/components/charts/api/diagonalstripespattern)—Applies diagonal lines across the series.
* [Dots Pattern](https://www.telerik.com/kendo-react-ui/components/charts/api/dotspattern)—Fills the series with evenly spaced dots.
* [Grid Pattern](https://www.telerik.com/kendo-react-ui/components/charts/api/gridpattern)—Renders a regular grid pattern.
* [Vertical Stripes Pattern](https://www.telerik.com/kendo-react-ui/components/charts/api/verticalstripespattern)—Displays vertical stripes.

The following example demonstrates the usage of the pattern fills for series.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/styling/patterns/source.txt)

## Limiting the Displayed Range

To limit the range which is displayed by the Chart:

1. Set the [`min`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartcategoryaxisitemprops#min) and [`max`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartcategoryaxisitemprops#max) options of the category axis.
2. Enable [panning](https://www.telerik.com/kendo-react-ui/components/charts/api/chartprops#pannable) and [zooming](https://www.telerik.com/kendo-react-ui/components/charts/api/chartprops#zoomable), so that the user is able to see the rest of the data.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/styling/range/func/source.txt)

## Suggested Links

* [API Reference of the Chart](https://www.telerik.com/kendo-react-ui/components/charts/api)
* [Creating Custom Styles](https://www.telerik.com/kendo-react-ui/components/styling/theme-builder)
