## 如何设置标注文字 ![](https://img.kancloud.cn/2b/05/2b0556e667c84ea0a333a6f62d33d5d7_557x552.png) 通过如下代码可修改label的显示值,如果要显示为数值则配置如下代码 ``` option.series[0].label.normal.formatter='{@[2]}' ``` ![](https://img.kancloud.cn/b9/d5/b9d5e60f0d5669742d733f113fd22039_797x522.png) 更多配置如下 * `{a}`:系列名,series对应的name名称 * `{b}`:数据名,如区域名称 * `{c}`:数据值。 * `{@xxx}`:数据中名为`'xxx'`的维度的值,如`{@product}`表示名为`'product'`的维度的值。 * `{@[n]}`:数据中维度`n`的值,如`{@[3]}`表示维度 3 的值,从 0 开始计数。