paint dots on chart in canvas