I have been introducing google's Angularjs client PM mode framework for a long time. Today I am releasing a simple example about AngularJs usage.SonarLanguage(The example is located at Github: https://github.com/greengerong/SonarLanguage ). This project is just a sample project with all clients. At the beginning of the project, I want to see the distribution ratio of languages used in the company's projects and the share of C #. I have been sitting in Java projects this year, but I still like C #, this is just a personal problem and there is no language competition. After CI is continuously integrated, company projects transmit build data to Sonar to generate reports. So I can get the language of the project and project in Sonar, and Sonar Restfull API provides the Jsonp access method. Naturally, everything goes well, getting data, displaying data, querying, sorting, displays the pie chart of language distribution.
With bootstrap and google code html5.js, the project style uses standard html layout, header, section, footer, and so on. angularjs and underscore are used as the auxiliary framework for project statistics, and amcharts is used to draw a pie chart. If you are interested, visit https://github.com/green#g/sonarlanguageon github.
The final effect of the project is: the address here has been changed to the official API http://nemo.sonarsource.org)
650) this. width = 650; "alt =" "src =" https://github.com/greengerong/SonarLanguage/blob/master/language.jpg? Raw = true "/>
More exchanges and common progress 650) this. width = 650; "style =" display: inline "title =" X1 'e @ 'r9llx ~ 6VHSWO 'nxy0 "alt =" X1 'e @ 'r9llx ~ 6VHSWO 'nxy0 "height =" 24 "src =" http://www.bkjia.com/uploads/allimg/131228/12222050P-0.gif "/>.
This article from the "wolf" blog, please be sure to keep this source http://whitewolfblog.blog.51cto.com/3973901/1076341