Highcharts

Start your Highcharts journey today

立即试用
立即购买
Skip to Content
文档React集成(测试版)附录 A:选项组件子项

Appendix A: Option Component children

The table below shows what Highcharts option the child content of each option component will be bound to.

ComponentHighcharts API Option
Titletitle.text 
Subtitlesubtitle.text 
Creditscredits.text 
Tooltiptooltip.format 
XAxisxAxis.title.text 
YAxisyAxis.title.text 
Legendlegend.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.