MasterScrat
MasterScrat

Reputation: 7386

Plot without lines with Dygraphs

I can't find a way to render my graph as separate points. I want each point to be rendered separately. In my case drawing a line between data points doesn't make sense.

Upvotes: 9

Views: 2261

Answers (1)

danvk
danvk

Reputation: 16955

You can set strokeWidth to zero: demo

new Dygraph(data, div, {
  drawPoints: true,
  strokeWidth: 0,
  pointSize: 5
});

Upvotes: 14

Related Questions