({ axes, radialAxes, layout, theme }: ChartState<Options>)
| 85 | } |
| 86 | |
| 87 | render({ axes, radialAxes, layout, theme }: ChartState<Options>) { |
| 88 | const titleOption = this.isCircularAxis ? radialAxes[this.name]?.title : axes[this.name]?.title; |
| 89 | |
| 90 | this.isShow = !!titleOption; |
| 91 | |
| 92 | if (!this.isShow) { |
| 93 | return; |
| 94 | } |
| 95 | |
| 96 | this.theme = getAxisTheme(theme, this.name).title as Required<FontTheme>; |
| 97 | this.rect = layout[`${this.name}Title`]; |
| 98 | this.models = this.renderAxisTitle(titleOption, this.getTextAlign(!!axes?.centerYAxis)); |
| 99 | } |
| 100 | } |
nothing calls this directly
no test coverage detected