문제

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.

도움이 되었습니까?

해결책

You can set strokeWidth to zero: demo

new Dygraph(data, div, {
  drawPoints: true,
  strokeWidth: 0,
  pointSize: 5
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top