added examples for writePoints/writeSeries