Appendix A: Option Component children
The table below shows what Highcharts option the child content of each option component will be bound to.
| Component | Highcharts API Option |
|---|---|
| Title | title.text |
| Subtitle | subtitle.text |
| Credits | credits.text |
| Tooltip | tooltip.format |
| XAxis | xAxis.title.text |
| YAxis | yAxis.title.text |
| Legend | legend.labelFormat |
Advanced configuration
It is possible to change this binding by setting the _HCReact.childOption
property of the component.
import { Tooltip } from '@highcharts/react';
Tooltip._HCReact.childOption = 'footerFormat';The above will apply to all tooltip components.