ValueUpdate

更新饼图上的值(指定位置)。

 bool  ValueUpdate(
   const uint    pos,    // 索引编号
   const double  value,  // 值
   const string  descr,  // 标签
   const uint    clr,    // 颜色
   )

参数

pos

[in] 值的索引―从0开始的添加序列号。 

value

[in] 值

descr

[in] 值标签。

clr

[in] 值颜色。

返回值

如果成功返回true,否则―false。