Open
Description
Hi,
Great library!
Is it possible to call a function from your controller or scope as the valueFormatFunction in chart-tooltip?
This does not work:
<div ng-controller="C3ChartController as chartCtrl"> <c3chart ....> <chart-tooltip valueFormatFunction="chartCtrl.formatValue(value)"></chart-tooltip> </<c3chart> </div>
or something like this does not either
<chart-tooltip valueFormatFunction="angular.element(document.getElementById('line-chart-{{$index + 1}}')).controller().formatValue(value)"></chart-tooltip>
Metadata
Metadata
Assignees
Labels
No labels