# AreaChart

*Category:* Components
*Section:* Charts
*Source:* https://uikit.developers.rio.cloud/#/components/areaCharts
*Captured:* 2026-04-27T14:59:11.461Z

## AreaChart

> Note: When using a chart in your application, do not get fancy and try to stick to the proposed examples or at least base your chart upon them. That will save time and money and, equally important, gives the user a coherent look and feel across the different services.

### Example: Example 1

Simple AreaChart

Page A Page B Page C Page D Page E Page F Page G

#### React (tsx)

```tsx
import AreaChart from '@rio-cloud/rio-uikit/AreaChart';
import Area from '@rio-cloud/rio-uikit/Area';

type CustomData = {
    name: string;
    value: number;
};

export default () => (
    <>
        <label>Simple AreaChart</label>
        <div className='panel panel-default panel-body margin-bottom-0 height-200 max-width-500'>
            <AreaChart
                data={data}
                dataKey={(entry: CustomData) => entry.name}
                xAxisOptions={{ padding: { left: 30, right: 30 } }}
                areas={[<Area key='area' dataKey={(entry: CustomData) => entry.value} />]}
            />
        </div>
    </>
);

const data: CustomData[] = [
    {
        name: 'Page A',
        value: 3200,
    },
    {
        name: 'Page B',
        value: 3000,
    },
    {
        name: 'Page C',
        value: 2000,
    },
    {
        name: 'Page D',
        value: 2780,
    },
    {
        name: 'Page E',
        value: 1890,
    },
    {
        name: 'Page F',
        value: 2390,
    },
    {
        name: 'Page G',
        value: 3490,
    },
];
```

#### HTML (html)

```html
<label>Simple AreaChart</label>
<div class="panel panel-default panel-body margin-bottom-0 height-200 max-width-500">
    <div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
        <div style="width: 0px; height: 0px; overflow: visible;">
            <div width="468" height="168" class="recharts-wrapper" style="position: relative; cursor: default; width: 468px; height: 168px;">
                <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
                    <div class="recharts-default-tooltip" role="status" aria-live="assertive" style="margin: 0px; padding: 10px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); white-space: nowrap;">
                        <p class="recharts-tooltip-label" style="margin: 0px;">
                        </p>
                    </div>
                </div>
                <svg role="application" tabindex="0" class="recharts-surface" width="468" height="168" viewBox="0 0 468 168" style="width: 100%; height: 100%; display: block;">
                    <title>
                    </title>
                    <desc>
                    </desc>
                    <g tabindex="-1" class="recharts-zIndex-layer_-100">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_-50">
                    </g>
                    <defs>
                        <clipPath id="recharts1-clip">
                            <rect x="15" y="15" height="108" width="438">
                            </rect>
                        </clipPath>
                    </defs>
                    <defs>
                        <linearGradient id="area" x1="0" y1="0" x2="0" y2="1">
                            <stop offset="5%" stop-color="#67abc5 " stop-opacity="0.8">
                            </stop>
                            <stop offset="95%" stop-color="#67abc5 " stop-opacity="0">
                            </stop>
                        </linearGradient>
                    </defs>
                    <g tabindex="-1" class="recharts-zIndex-layer_100">
                        <g class="recharts-layer recharts-area">
                            <g class="recharts-layer">
                                <defs>
                                    <clipPath id="animationClipPath-recharts-area-:r0:">
                                        <rect x="45" y="0" width="78.86311652275786" height="124">
                                        </rect>
                                    </clipPath>
                                </defs>
                                <g class="recharts-layer" clip-path="url(#animationClipPath-recharts-area-:r0:)">
                                    <g class="recharts-layer">
                                        <path stroke-width="1" fill="url(#area)" fill-opacity="0.6" height="108" stroke="none" width="438" id="recharts-area-:r0:" class="recharts-curve recharts-area-area" d="M45,27C66,28,87,29,108,33C129,37,150,63,171,63C192,63,213,39.6,234,39.6C255,39.6,276,66.3,297,66.3C318,66.3,339,59.3,360,51.3C381,43.3,402,30.8,423,18.3L423,123C402,123,381,123,360,123C339,123,318,123,297,123C276,123,255,123,234,123C213,123,192,123,171,123C150,123,129,123,108,123C87,123,66,123,45,123Z">
                                        </path>
                                        <path stroke-width="1" fill="none" fill-opacity="0.6" height="108" stroke="#67abc5 " width="438" class="recharts-curve recharts-area-curve" d="M45,27C66,28,87,29,108,33C129,37,150,63,171,63C192,63,213,39.6,234,39.6C255,39.6,276,66.3,297,66.3C318,66.3,339,59.3,360,51.3C381,43.3,402,30.8,423,18.3">
                                        </path>
                                    </g>
                                </g>
                            </g>
                        </g>
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_200">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_300">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_400">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_500">
                        <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
                            <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="15" y1="123" x2="453" y2="123">
                            </line>
                            <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
                                <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="45" y1="129" x2="45" y2="123">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="108" y1="129" x2="108" y2="123">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="171" y1="129" x2="171" y2="123">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="234" y1="129" x2="234" y2="123">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="297" y1="129" x2="297" y2="123">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="360" y1="129" x2="360" y2="123">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="15" y="123" width="438" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="423" y1="129" x2="423" y2="123">
                                        </line>
                                    </g>
                                </g>
                            </g>
                        </g>
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_600">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_1000">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_1100">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_1200">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_2000">
                        <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="45" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="45" dy="0.71em">Page A</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="108" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="108" dy="0.71em">Page B</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="171" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="171" dy="0.71em">Page C</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="234" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="234" dy="0.71em">Page D</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="297" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="297" dy="0.71em">Page E</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="360" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="360" dy="0.71em">Page F</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="438" stroke="none" x="423" y="131" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="423" dy="0.71em">Page G</tspan>
                                </text>
                            </g>
                        </g>
                    </g>
                </svg>
            </div>
        </div>
    </div>
</div>
```

#### Props: AreaChart

### AreaChart

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| width | Number | — | The width of chart container. |
| height | Number | — | The height of chart container. |
| data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
| dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
| dataUnit | string | — | The unit of data displayed in the chart. |
| showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
| showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
| showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
| xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
| yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
| additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
| gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
| brush | Boolean | false | Defines whether or not the brush component shall be used. |
| tooltip | ChartTooltip \| Boolean | — | Defines whether or not the tooltip component shall be used. You can customize the tooltip by providing a custom ChartTooltip. Prop details can be found here: https://recharts.org/en-US/api/Tooltip. You can also customize the cursor color by setting a stroke or fill color in the cursor props. Details can be found here: https://recharts.org/en-US/api/Tooltip#cursor |
| legend | Legend \| Boolean | false | Shows the provided Legend component otherwise shows nothing. |
| areas | Array of Area | [] | Renders the provided Area components. |
| gradients | Array of AreaGradient | [] | Renders the provided gradient components. |
| ... |  | — | Additional props are passed to the underlying AreaChart component. Details can be found here: https://recharts.org/en-US/api/AreaChart |

#### Props: Area

### Area

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| strokeColor | String | color-coldplay-fountain | Defines the color for the area component. Take the color name from the charts colors page. |
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the area. |
| dataUnit | String / Number | — | The unit of data displayed for the area. |
| gradientId | String | areaGradient | The id of the corresponding gradient component used in the chart. |
| legendType | String | square | The type of icon in legend. If set to "none", no legend item will be rendered. |
| type | String | monotone | The interpolation type of line. And customized interpolation function can be set to type. It is the same as type in Area. |
| isAnimationActive | Boolean | true | If set false, animation of line will be disabled. |
| ... |  | — | Additional props are passed to the underlying Area component. Details can be found here: https://recharts.org/en-US/api/Area |

#### Props: AreaGradient

### AreaGradient

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| id | String | areaGradient | The id of the gradient referenced by the area component that it is used for. |
| color | String | color-coldplay-fountain | Defines the color for the gradient component. Take the color name from the charts colors page. |

#### Props: ReferenceLine

### ReferenceLine

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| stroke | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
| ... |  | — | Additional props are passed to the underlying ReferenceLine component. Details can be found here: https://recharts.org/en-US/api/ReferenceLine |

#### Props: Legend

### Legend

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| iconType | String | square | Defines the type of the leading icon. |
| iconSize | String | 12 | Defines the size of the leading icon. |
| layout | String | vertical | Defines the layout of the legend. |
| align | String | right | Defines the alignment of the legend relative to the chart. |
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
| ... |  | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |

### Example: Example 2

Multiple Areas in an AreaChart

AMT
UV

0 900 1800 2700 3600 Max Page A Page B Page C Page D Page E Page F Page G

#### React (tsx)

```tsx
import { useState } from 'react';

import AreaChart from '@rio-cloud/rio-uikit/AreaChart';
import Area from '@rio-cloud/rio-uikit/Area';
import Legend from '@rio-cloud/rio-uikit/Legend';
import ReferenceLine from '@rio-cloud/rio-uikit/ReferenceLine';

type CustomData = {
    name: string;
    uv: number;
    pv: number;
    amt: number;
};

export default () => {
    const [highlightedArea, setHighlightedArea] = useState<string | null>(null);

    const handleLegendMouseEnter = (dataKey: string) => setHighlightedArea(dataKey);
    const handleLegendMouseLeave = () => setHighlightedArea(null);

    return (
        <>
            <label>Multiple Areas in an AreaChart</label>
            <div className='panel panel-default panel-body margin-bottom-0 height-300'>
                <AreaChart
                    data={data}
                    dataKey={(entry: CustomData) => entry.name}
                    showYAxis
                    showGrid
                    legend={
                        <Legend
                            content={
                                <CustomLegend
                                    highlightedArea={highlightedArea}
                                    onMouseEnter={handleLegendMouseEnter}
                                    onMouseLeave={handleLegendMouseLeave}
                                />
                            }
                        />
                    }
                    areas={[
                        <Area
                            key='area1'
                            name='UV'
                            dataKey='uv'
                            strokeColor='color-warmup-victoria'
                            fillOpacity={highlightedArea === 'uv' || !highlightedArea ? 0.5 : 0.1}
                        />,
                        <Area
                            key='area2'
                            name='AMT'
                            dataKey='amt'
                            strokeColor='color-warmup-salmon'
                            fillOpacity={highlightedArea === 'amt' || !highlightedArea ? 0.5 : 0.1}
                        />,
                    ]}
                    referenceLines={[
                        <ReferenceLine
                            key='y'
                            y={3500}
                            stroke='color-warmup-salmon'
                            strokeDasharray='3 3'
                            label='Max'
                        />,
                    ]}
                />
            </div>
        </>
    );
};

type CustomLegendProps = {
    payload?: { dataKey: string; value: string; color: string }[];
    highlightedArea: string | null;
    onMouseEnter: (dataKey: string) => void;
    onMouseLeave: () => void;
};

const CustomLegend = ({ payload, highlightedArea, onMouseEnter, onMouseLeave }: CustomLegendProps) => (
    <ul className='list-style-none padding-left-20'>
        {payload?.map((entry: any, index: number) => (
            <li
                key={`item-${index}`}
                onMouseEnter={() => onMouseEnter(entry.dataKey)}
                onMouseLeave={onMouseLeave}
                className={`cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ${highlightedArea === entry.dataKey ? 'bg-lightest' : ''}`}
            >
                <span className='rioglyph rioglyph-sphere' style={{ color: entry.color }} />
                <span className='text-color-darker text-capitalize-first-word'>{entry.value}</span>
            </li>
        ))}
    </ul>
);

const data: CustomData[] = [
    {
        name: 'Page A',
        uv: 3200,
        pv: 2400,
        amt: 2400,
    },
    {
        name: 'Page B',
        uv: 3000,
        pv: 1398,
        amt: 2210,
    },
    {
        name: 'Page C',
        uv: 2000,
        pv: 9800,
        amt: 2290,
    },
    {
        name: 'Page D',
        uv: 2780,
        pv: 3908,
        amt: 2000,
    },
    {
        name: 'Page E',
        uv: 1890,
        pv: 4800,
        amt: 2181,
    },
    {
        name: 'Page F',
        uv: 2390,
        pv: 3800,
        amt: 2500,
    },
    {
        name: 'Page G',
        uv: 3490,
        pv: 4300,
        amt: 2100,
    },
];
```

#### HTML (html)

```html
<label>Multiple Areas in an AreaChart</label>
<div class="panel panel-default panel-body margin-bottom-0 height-300">
    <div class="recharts-responsive-container" style="width: 100%; height: 100%; min-width: 100px; min-height: 100px;">
        <div style="width: 0px; height: 0px; overflow: visible;">
            <div width="876" height="268" class="recharts-wrapper" style="position: relative; cursor: default; width: 876px; height: 268px;">
                <div xmlns="http://www.w3.org/1999/xhtml" tabindex="-1" class="recharts-tooltip-wrapper" style="visibility: hidden; pointer-events: none; position: absolute; top: 0px; left: 0px;">
                    <div class="recharts-default-tooltip" role="status" aria-live="assertive" style="margin: 0px; padding: 10px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); white-space: nowrap;">
                        <p class="recharts-tooltip-label" style="margin: 0px;">
                        </p>
                    </div>
                </div>
                <div class="recharts-legend-wrapper" style="position: absolute; width: auto; height: auto; right: 15px; top: 15px;">
                    <ul class="list-style-none padding-left-20">
                        <li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
                            <span class="rioglyph rioglyph-sphere" style="color: rgb(241, 149, 136);">
                            </span>
                            <span class="text-color-darker text-capitalize-first-word">AMT</span>
                        </li>
                        <li class="cursor-pointer display-flex gap-5 align-items-center rounded padding-x-5 padding-y-3 ">
                            <span class="rioglyph rioglyph-sphere" style="color: rgb(73, 61, 109);">
                            </span>
                            <span class="text-color-darker text-capitalize-first-word">UV</span>
                        </li>
                    </ul>
                </div>
                <svg role="application" tabindex="0" class="recharts-surface" width="876" height="268" viewBox="0 0 876 268" style="width: 100%; height: 100%; display: block;">
                    <title>
                    </title>
                    <desc>
                    </desc>
                    <g tabindex="-1" class="recharts-zIndex-layer_-100">
                        <g class="recharts-cartesian-grid">
                            <g class="recharts-cartesian-grid-horizontal">
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="75" y1="223" x2="786.6875" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="75" y1="171" x2="786.6875" y2="171">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="75" y1="119" x2="786.6875" y2="119">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="75" y1="67" x2="786.6875" y2="67">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="75" y1="15" x2="786.6875" y2="15">
                                </line>
                            </g>
                            <g class="recharts-cartesian-grid-vertical">
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="75" y1="15" x2="75" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="193.61458333333331" y1="15" x2="193.61458333333331" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="312.22916666666663" y1="15" x2="312.22916666666663" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="430.84375" y1="15" x2="430.84375" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="549.4583333333333" y1="15" x2="549.4583333333333" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="668.0729166666666" y1="15" x2="668.0729166666666" y2="223">
                                </line>
                                <line stroke-dasharray="3 3" stroke="#ccc" fill="none" x="75" y="15" width="711.6875" height="208" x1="786.6875" y1="15" x2="786.6875" y2="223">
                                </line>
                            </g>
                        </g>
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_-50">
                    </g>
                    <defs>
                        <clipPath id="recharts2-clip">
                            <rect x="75" y="15" height="208" width="711.6875">
                            </rect>
                        </clipPath>
                    </defs>
                    <defs>
                        <linearGradient id="area1" x1="0" y1="0" x2="0" y2="1">
                            <stop offset="5%" stop-color="#493d6d " stop-opacity="0.8">
                            </stop>
                            <stop offset="95%" stop-color="#493d6d " stop-opacity="0">
                            </stop>
                        </linearGradient>
                        <linearGradient id="area2" x1="0" y1="0" x2="0" y2="1">
                            <stop offset="5%" stop-color="#f19588 " stop-opacity="0.8">
                            </stop>
                            <stop offset="95%" stop-color="#f19588 " stop-opacity="0">
                            </stop>
                        </linearGradient>
                    </defs>
                    <g tabindex="-1" class="recharts-zIndex-layer_100">
                        <g class="recharts-layer recharts-area">
                            <g class="recharts-layer">
                                <defs>
                                    <clipPath id="animationClipPath-recharts-area-:r1:">
                                        <rect x="75" y="0" width="642.7074137109543" height="224">
                                        </rect>
                                    </clipPath>
                                </defs>
                                <g class="recharts-layer" clip-path="url(#animationClipPath-recharts-area-:r1:)">
                                    <g class="recharts-layer">
                                        <path name="UV" stroke-width="1" fill="url(#area1)" fill-opacity="0.5" height="208" stroke="none" width="711.6875" id="recharts-area-:r1:" class="recharts-curve recharts-area-area" d="M75,38.111C114.538,40.037,154.076,41.963,193.615,49.667C233.153,57.37,272.691,107.444,312.229,107.444C351.767,107.444,391.306,62.378,430.844,62.378C470.382,62.378,509.92,113.8,549.458,113.8C588.997,113.8,628.535,100.319,668.073,84.911C707.611,69.504,747.149,45.43,786.688,21.356L786.688,223C747.149,223,707.611,223,668.073,223C628.535,223,588.997,223,549.458,223C509.92,223,470.382,223,430.844,223C391.306,223,351.767,223,312.229,223C272.691,223,233.153,223,193.615,223C154.076,223,114.538,223,75,223Z">
                                        </path>
                                        <path name="UV" stroke-width="1" fill="none" fill-opacity="0.5" height="208" stroke="#493d6d " width="711.6875" class="recharts-curve recharts-area-curve" d="M75,38.111C114.538,40.037,154.076,41.963,193.615,49.667C233.153,57.37,272.691,107.444,312.229,107.444C351.767,107.444,391.306,62.378,430.844,62.378C470.382,62.378,509.92,113.8,549.458,113.8C588.997,113.8,628.535,100.319,668.073,84.911C707.611,69.504,747.149,45.43,786.688,21.356">
                                        </path>
                                    </g>
                                </g>
                            </g>
                        </g>
                        <g class="recharts-layer recharts-area">
                            <g class="recharts-layer">
                                <defs>
                                    <clipPath id="animationClipPath-recharts-area-:r2:">
                                        <rect x="75" y="0" width="642.7074137109543" height="224">
                                        </rect>
                                    </clipPath>
                                </defs>
                                <g class="recharts-layer" clip-path="url(#animationClipPath-recharts-area-:r2:)">
                                    <g class="recharts-layer">
                                        <path name="AMT" stroke-width="1" fill="url(#area2)" fill-opacity="0.5" height="208" stroke="none" width="711.6875" id="recharts-area-:r2:" class="recharts-curve recharts-area-area" d="M75,84.333C114.538,89.822,154.076,95.311,193.615,95.311C233.153,95.311,272.691,90.689,312.229,90.689C351.767,90.689,391.306,107.444,430.844,107.444C470.382,107.444,509.92,101.801,549.458,96.987C588.997,92.172,628.535,78.556,668.073,78.556C707.611,78.556,747.149,90.111,786.688,101.667L786.688,223C747.149,223,707.611,223,668.073,223C628.535,223,588.997,223,549.458,223C509.92,223,470.382,223,430.844,223C391.306,223,351.767,223,312.229,223C272.691,223,233.153,223,193.615,223C154.076,223,114.538,223,75,223Z">
                                        </path>
                                        <path name="AMT" stroke-width="1" fill="none" fill-opacity="0.5" height="208" stroke="#f19588 " width="711.6875" class="recharts-curve recharts-area-curve" d="M75,84.333C114.538,89.822,154.076,95.311,193.615,95.311C233.153,95.311,272.691,90.689,312.229,90.689C351.767,90.689,391.306,107.444,430.844,107.444C470.382,107.444,509.92,101.801,549.458,96.987C588.997,92.172,628.535,78.556,668.073,78.556C707.611,78.556,747.149,90.111,786.688,101.667">
                                        </path>
                                    </g>
                                </g>
                            </g>
                        </g>
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_200">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_300">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_400">
                        <g class="recharts-layer recharts-reference-line">
                            <line y="3500" stroke-dasharray="3 3" stroke="#f19588 " fill="none" fill-opacity="1" stroke-width="1" x1="75" y1="20.777777777777782" x2="786.6875" y2="20.777777777777782" class="recharts-reference-line-line">
                            </line>
                        </g>
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_500">
                        <g class="recharts-layer recharts-cartesian-axis recharts-yAxis yAxis">
                            <line angle="0" orientation="left" width="60" x="15" y="15" height="208" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="15" x2="75" y2="223">
                            </line>
                            <g class="recharts-cartesian-axis-ticks recharts-yAxis-ticks">
                                <g class="recharts-cartesian-axis-tick-lines recharts-yAxis-tick-lines">
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" orientation="left" width="60" x="15" y="15" height="208" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="223" x2="75" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" orientation="left" width="60" x="15" y="15" height="208" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="171" x2="75" y2="171">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" orientation="left" width="60" x="15" y="15" height="208" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="119" x2="75" y2="119">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" orientation="left" width="60" x="15" y="15" height="208" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="67" x2="75" y2="67">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" orientation="left" width="60" x="15" y="15" height="208" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="69" y1="15" x2="75" y2="15">
                                        </line>
                                    </g>
                                </g>
                            </g>
                        </g>
                        <g class="recharts-layer recharts-cartesian-axis recharts-xAxis xAxis">
                            <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-line" stroke="#666" fill="none" x1="75" y1="223" x2="786.6875" y2="223">
                            </line>
                            <g class="recharts-cartesian-axis-ticks recharts-xAxis-ticks">
                                <g class="recharts-cartesian-axis-tick-lines recharts-xAxis-tick-lines">
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="75" y1="229" x2="75" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="193.61458333333331" y1="229" x2="193.61458333333331" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="312.22916666666663" y1="229" x2="312.22916666666663" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="430.84375" y1="229" x2="430.84375" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="549.4583333333333" y1="229" x2="549.4583333333333" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="668.0729166666666" y1="229" x2="668.0729166666666" y2="223">
                                        </line>
                                    </g>
                                    <g class="recharts-layer recharts-cartesian-axis-tick">
                                        <line angle="0" height="30" orientation="bottom" x="75" y="223" width="711.6875" class="recharts-cartesian-axis-tick-line" stroke="#666" fill="none" x1="786.6875" y1="229" x2="786.6875" y2="223">
                                        </line>
                                    </g>
                                </g>
                            </g>
                        </g>
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_600">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_1000">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_1100">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_1200">
                    </g>
                    <g tabindex="-1" class="recharts-zIndex-layer_2000">
                        <g class="recharts-cartesian-axis-tick-labels recharts-yAxis-tick-labels">
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text orientation="left" width="60" height="208" stroke="none" x="67" y="223" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
                                    <tspan x="67" dy="0.355em">0</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text orientation="left" width="60" height="208" stroke="none" x="67" y="171" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
                                    <tspan x="67" dy="0.355em">900</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text orientation="left" width="60" height="208" stroke="none" x="67" y="119" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
                                    <tspan x="67" dy="0.355em">1800</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text orientation="left" width="60" height="208" stroke="none" x="67" y="67" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
                                    <tspan x="67" dy="0.355em">2700</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text orientation="left" width="60" height="208" stroke="none" x="67" y="15" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="end" fill="#666">
                                    <tspan x="67" dy="0.355em">3600</tspan>
                                </text>
                            </g>
                        </g>
                        <text offset="5" x="430.84375" y="20.777777777777782" class="recharts-text recharts-label" text-anchor="middle" fill="#808080">
                            <tspan x="430.84375" dy="0.355em">Max</tspan>
                        </text>
                        <g class="recharts-cartesian-axis-tick-labels recharts-xAxis-tick-labels">
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="75" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="75" dy="0.71em">Page A</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="193.61458333333331" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="193.61458333333331" dy="0.71em">Page B</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="312.22916666666663" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="312.22916666666663" dy="0.71em">Page C</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="430.84375" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="430.84375" dy="0.71em">Page D</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="549.4583333333333" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="549.4583333333333" dy="0.71em">Page E</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="668.0729166666666" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="668.0729166666666" dy="0.71em">Page F</tspan>
                                </text>
                            </g>
                            <g class="recharts-layer recharts-cartesian-axis-tick-label">
                                <text height="30" orientation="bottom" width="711.6875" stroke="none" x="786.6875" y="231" class="recharts-text recharts-cartesian-axis-tick-value" text-anchor="middle" fill="#666">
                                    <tspan x="786.6875" dy="0.71em">Page G</tspan>
                                </text>
                            </g>
                        </g>
                    </g>
                </svg>
            </div>
        </div>
    </div>
</div>
```

#### Props: AreaChart

### AreaChart

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| width | Number | — | The width of chart container. |
| height | Number | — | The height of chart container. |
| data | Array | — | The source data, in which each element is an object. It has the following format: [{ name: "a", value: 12 }] Note: for some charts, the color of the individual data is taken from the color prop: [{ name: "a", value: 12, color: "color-coldplay-fountain" }] |
| dataKey | String \| Number \| Function | value | The key of data displayed in the axis. Also, used as label for the x-axis. |
| dataUnit | string | — | The unit of data displayed in the chart. |
| showGrid | Boolean | false | Defines whether or not the grid shall be rendered. |
| showXAxis | Boolean | true | Defines whether or not the x-axis shall be rendered. |
| showYAxis | Boolean | false | Defines whether or not the y-axis shall be rendered. |
| xAxisOptions | Object | — | Detailed options passed to the underlying XAxis component. Details can be found here: https://recharts.org/en-US/api/XAxis |
| yAxisOptions | Object | — | Detailed options passed to the underlying YAxis component. Details can be found here: https://recharts.org/en-US/api/YAxis |
| additionalAxes | React.ReactElement<XAxisProps \| YAxisProps>[] | — | Render a list of additional axes. This includes YAxis and XAxis. |
| gridOptions | Object | — | Detailed options passed to the underlying Grid component. Details can be found here: https://recharts.org/en-US/api/CartesianGrid |
| containerOptions | Object | — | Detailed options passed to the underlying ResponsiveContainer component. Details can be found here: https://recharts.org/en-US/api/ResponsiveContainer |
| brush | Boolean | false | Defines whether or not the brush component shall be used. |
| tooltip | ChartTooltip \| Boolean | — | Defines whether or not the tooltip component shall be used. You can customize the tooltip by providing a custom ChartTooltip. Prop details can be found here: https://recharts.org/en-US/api/Tooltip. You can also customize the cursor color by setting a stroke or fill color in the cursor props. Details can be found here: https://recharts.org/en-US/api/Tooltip#cursor |
| legend | Legend \| Boolean | false | Shows the provided Legend component otherwise shows nothing. |
| areas | Array of Area | [] | Renders the provided Area components. |
| gradients | Array of AreaGradient | [] | Renders the provided gradient components. |
| ... |  | — | Additional props are passed to the underlying AreaChart component. Details can be found here: https://recharts.org/en-US/api/AreaChart |

#### Props: Area

### Area

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| strokeColor | String | color-coldplay-fountain | Defines the color for the area component. Take the color name from the charts colors page. |
| dataKey | string \| number \| ((obj: T) => any) | value | The key of data used for the area. |
| dataUnit | String / Number | — | The unit of data displayed for the area. |
| gradientId | String | areaGradient | The id of the corresponding gradient component used in the chart. |
| legendType | String | square | The type of icon in legend. If set to "none", no legend item will be rendered. |
| type | String | monotone | The interpolation type of line. And customized interpolation function can be set to type. It is the same as type in Area. |
| isAnimationActive | Boolean | true | If set false, animation of line will be disabled. |
| ... |  | — | Additional props are passed to the underlying Area component. Details can be found here: https://recharts.org/en-US/api/Area |

#### Props: AreaGradient

### AreaGradient

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| id | String | areaGradient | The id of the gradient referenced by the area component that it is used for. |
| color | String | color-coldplay-fountain | Defines the color for the gradient component. Take the color name from the charts colors page. |

#### Props: ReferenceLine

### ReferenceLine

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| stroke | String | color-coldplay-fountain | Defines the color for the line. Take the color name from the charts colors page. |
| ... |  | — | Additional props are passed to the underlying ReferenceLine component. Details can be found here: https://recharts.org/en-US/api/ReferenceLine |

#### Props: Legend

### Legend

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| iconType | String | square | Defines the type of the leading icon. |
| iconSize | String | 12 | Defines the size of the leading icon. |
| layout | String | vertical | Defines the layout of the legend. |
| align | String | right | Defines the alignment of the legend relative to the chart. |
| verticalAlign | String | top | Defines the vertical alignment of the legend relative to the chart. |
| ... |  | — | Additional props are passed to the underlying legend component. Details can be found here: https://recharts.org/en-US/api/Legend |