pub unsafe fn chart_set_point_count(obj: *mut Object, cnt: u32) -> Result<()>
Pointers must be valid for the call.