如何在Lightning chart中更改标签字体大小和颜色在此处输入图像描述
我使用如下代码添加标签
return builder
.addRow(name)
.addRow(yValue.toFixed(2))
.addRow(timedata[xValue.toFixed(0)])
另外,是否可以单独更改颜色和大小,仅用于.addRow(yValue.toFixed(2))
?
发布于 2021-04-08 15:41:35
AutoCursor结果表的字体大小/文本颜色可以这样更改
chart.setAutoCursor((autoCursor) => autoCursor
.setResultTable((resultTable) => resultTable
.setFont((font) => font.setSize(12))
.setTextFillStyle(new SolidFill({ color: ColorRGBA( 255, 0, 0 ) }))
)
)
https://stackoverflow.com/questions/66893114
复制相似问题