Skip to content

With "drawGapEdgePoints", unwanted point often drawn at beginning of chart #745

@mrcslws

Description

@mrcslws

Here's a repro: http://jsfiddle.net/bt3fdkkg/

EXPECTED:
No points are drawn

ACTUAL:
A point is drawn

new Dygraph(
  document.getElementById("demodiv"),
  [[0, 0],
   [1, 1],
   [2, 2],
   [3, 3],
   [4, 4],
   [5, 5]],
  {drawGapEdgePoints: true,
   pointSize: 5,
   axes: { y: { drawAxis: false } }});

It happens when the first point is at canvasx of 0 and drawGapEdgePoints is enabled.

I have a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions