A toy C implementation of pulsar::Chart funtionality