你应该研究一下注解。
柱状图文档可以在这里找到。
你可以将注解列添加到DataTable
中,列1的注解应该在它的索引位置之后,或者你可以创建一个视图并stringify
源列。
view.setColumns([0, //The "descr column"
1, //Downlink column
{
calc: "stringify",
sourceColumn: 1, // Create an annotation column with source column "1"
type: "string",
role: "annotation"
}]);
注释通常放置在柱形图的顶部,位于柱形内部。