Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我找不到任何方法如何在饼图的各个部分上对值进行签名。
只需将值添加到@params数组中的数据即可。
@params
my @params = qw[param1 param2 param3]; my @values = qw[ 45 25 30]; $params[$_] = "$params[$_] ($values[$_])" for 0 .. $#params; my @data = (\@params, \@values);