Skip to content

Instantly share code, notes, and snippets.

@mrblueblue
Created June 19, 2017 22:09
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 mrblueblue/4ce28281aa3753a3fe349916937f4e37 to your computer and use it in GitHub Desktop.
Save mrblueblue/4ce28281aa3753a3fe349916937f4e37 to your computer and use it in GitHub Desktop.
function createStandInChart (cfGroup) {
const chart = {}
chart.redrawAsync = function () {
cfGroup.all().then(data => {
dispatch(updateChartData(data))
})
}
dc.chartRegistry.register(chart)
return {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment