Customize

1. Labels of line, area, bar, axis can be customized

For example, we can create a bar with customized label and customized axis tick.

2. The shape of bar can be customized

The props shape of <Bar /> can be set to be a function or a react element to render customized shape.

3. The content of tooltip can be customized

Sometime we may want tooltip to display much more information.

4. The style of each chart element can be customized

Change the attributes of each chart element conveniently. Tooltip and Legend are HTML elements, everything else is an SVG element.

5. Customize Legend and Tooltip

Tooltip and legend are HTML elements. They accept several Recharts-specific props, and the usual style and className props too.