The Title plugin renders the chart title.
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';
Name | Type | Default | Description |
---|---|---|---|
textComponent | ComponentType<Title.TextProps> | A component that renders the title. | |
text | string | The title text. | |
position? | 'top' | 'bottom' | 'top' | The title position. |
Describes properties passed to a component that renders the title.
Field | Type | Description |
---|---|---|
text | string | The title text. |
Name | Properties | Description |
---|---|---|
Title.Text | Title.TextProps | A component that renders the title. |