This determines what goes in the labels. Unlike a category axis which
accepts fixed strings, the labels on a ValueAxis are supposed to be
numbers. You may provide either a 'format string' like '%0.2f' (show
two decimal places), or an arbitrary function which accepts a number
and returns a string. One use for the latter is to convert a timestamp
to a readable year-month-day format.
您可以为
YValueAxis.labelTextFormat
设置格式化程序函数。请参见documentation的YValueAxis部分:相关问题 更多 >
编程相关推荐