图表控制器中的科学记数法

Scientific notation in chart director

提问人:Bruno Ananias 提问时间:11/6/2023 最后编辑:Bruno Ananias 更新时间:11/7/2023 访问量:29

问:

大家早上好! 我需要一些关于 VB.net Chart Director 的帮助。 我需要知道,如何用科学记数法显示比例 Y。 我需要显示比例尺 Y,例如“1.6E-05”而不是“0.000016”。

我的图表显示为“0.000018,0.000019”。我需要显示“1.6E-05”。我的图表如何显示

.NET vb.net 记数法 图表控制器

评论

0赞 Nick Abbot 11/6/2023
参数替换和格式设置,然后搜索 .scientific notation

答:

0赞 user3100235 11/7/2023 #1

尝试:

 c.yAxis().setLabelFormat("{value|E1}")