永洪社区

标题: 动态切换数据显示格式 [打印本页]

作者: yhdata_JSxmOt00    时间: 2022-12-21 16:53
标题: 动态切换数据显示格式
普通表格,如何动态的切换数据的显示格式,使用帮助文档中的脚本没有生效https://www.yonghongtech.com/help/Z-Suite/9.3/ch/topic461.htm
作者: yhdata_yzm    时间: 2022-12-21 17:00
var loc = new Locator(["Sum_利润"], CELL, DETAIL)
图表1.setFormat(loc, DECIMAL_FORMAT);
图表1.setFormatPattern(loc, "#,###K");
可能是你的locatormei写对呢参考下locator的用法https://www.yonghongtech.com/hel ... ighlightsub=locator
作者: 倘若初见    时间: 2022-12-21 17:02
用参数
作者: yhdata_yzm    时间: 2022-12-21 17:13
倘若初见 发表于 2022-12-21 17:02
用参数

别误导楼主啊




欢迎光临 永洪社区 (http://club.yonghongtech.com/) Powered by Discuz! X3.4