also / lead.js

lead.github.io
MIT License
29 stars 8 forks source link

points surrounded by null invisible with simplify #184

Closed also closed 9 years ago

also commented 9 years ago
now = moment().unix()
data = [{target: 'target 1', datapoints: [1,null,2,null,3]}]

options
  width: 400, height: 200
  get_value: (v, i) -> v
  get_timestamp: (v, i) -> now + i * 60
  lineWidth: 3

flow ->
  graph data, type: 'scatter'
  graph data
  graph data, simplify: false

screen shot 2014-10-08 at 10 07 55 pm