Title Plugin Reference

The Title plugin renders the chart title.

Import

Use the following statement to import the plugin:

import { Title } from '@devexpress/dx-react-chart-material-ui';
// import { Title } from '@devexpress/dx-react-chart-bootstrap4';

If you want to use custom components, you can import the themeless plugin:

import { Title } from '@devexpress/dx-react-chart';

User Reference

Properties

Name Type Default Description
textComponent ComponentType<Title.TextProps>   A component that renders the title.
text string   The title text.
position? ‘top’ | ‘bottom’ | ‘left’ | ‘right’ ‘top’ The title position.

Interfaces

Title.TextProps

Describes properties passed to a component that renders the title.

Field Type Description
text string The title text.

Plugin Components

Name Properties Description
Title.Text Title.TextProps A component that renders the title.