ui-chart icon indicating copy to clipboard operation
ui-chart copied to clipboard

Link function never runs

Open ansorensen opened this issue 11 years ago • 0 comments

I copied the example of the readme, but the chart doesn't appear. I set a breakpoint at the top of the link function and discovered that the link function never runs. I think it has to do with the directive using the element name as an attribute. When I changed

<ui-chart="graphData" id="some-id" chart-options="chartOptions">

to

When I made that change, and updated all references to uiChart in the link function to chartData, it worked fined.

(Angular 1.3.0-beta.6)

ansorensen avatar Aug 06 '14 17:08 ansorensen