- snprintf(buf, sizeof(buf), "%u", i);
- child->add_property("number", string(buf));
- snprintf(buf, sizeof(buf), "%+f", _shadow_data[i]);
- child->add_property("value", string(buf));
+ child->set_property("number", i);
+ child->set_property("value", _shadow_data[i]);