Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Fixes #545 #552

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

janmichaelyu
Copy link
Contributor

Callback test function example:

function callbackTest(facet, x, y) {
  console.log('facet', facet)
  console.log('x', x)
  console.log('y', y)
}

angular.extend(ctrl, {
  eyeColor: chartsService.top10Chart('Eye Color', 'pie', 'eyeColor', 'Eye Color', 50, callbackTest),
  gender: chartsService.top10Chart('Gender', 'bar', 'gender', 'Gender', 50, callbackTest),
  combined: chartsService.top10Chartv2('Eye Color vs Gender', 'column', 'eyeColor', 'Eye Color',
              'gender', 'Gender', callbackTest)
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant