How to Integrate Flot with AngularJS?

前端 未结 2 1646
清酒与你
清酒与你 2020-12-02 08:17

I am new to Angular and Flot, but am experienced with Jquery and Javascript. I am a bit confused about how to go about binding a Flot chart to Angular data models, since Flo

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 09:01

    To use jQuery plugins with angularJS, you have to wrap them in directives, you can find some exemples of jQuery plugins directives by reading the source code of angularUI directives: https://github.com/angular-ui/angular-ui/tree/master/modules/directives

提交回复
热议问题