Skip to content

Instantly share code, notes, and snippets.

@biovisualize
Last active July 20, 2017 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biovisualize/f151ad1407486d86631d88627716e194 to your computer and use it in GitHub Desktop.
Save biovisualize/f151ad1407486d86631d88627716e194 to your computer and use it in GitHub Desktop.
Chart API variant - refactoring blog post
var data = dataManager.getData(dimension, group)
var lineChart = chartManager.line('#chart')
.config({
height: 100,
width: 100
})
.on('click', (e => {}))
.data(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment