(context, opts)
| 1447 | } |
| 1448 | |
| 1449 | function contextRotate(context, opts) { |
| 1450 | if (opts.rotateLock !== true) { |
| 1451 | context.translate(opts.height, 0); |
| 1452 | context.rotate(90 * Math.PI / 180); |
| 1453 | } else if (opts._rotate_ !== true) { |
| 1454 | context.translate(opts.height, 0); |
| 1455 | context.rotate(90 * Math.PI / 180); |
| 1456 | opts._rotate_ = true; |
| 1457 | } |
| 1458 | } |
| 1459 | |
| 1460 | function drawPointShape(points, color, shape, context, opts) { |
| 1461 | context.beginPath(); |