Open-source: Angularjs example-language distribution chart for projects in Sonar

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.