Gchart Plugin API

Source: Internet
Author: User

   

Data: A two-dimensional array with the following parameter types: [[153, -, the], [113, -, -], [ -, the, +] Size: The size of the picture display (width x height)0x200type: I've said it before. Xis_labels: Horizontal text legend: Legend Bar_width: -Default -Bar width bar_spacing:1default 1 bar spacing colors: ['4b9b41','81419b','41599b'] Legend display color bg:'e0e0e0'background color bg_trasparency: -background Transparency Bg_offset:'000000'Gradient End color Bg_angle:' $'Default -Gradient angle Bg_type:'Gradient'default solid gradient mode bg_width:'Ten'DefaultTengradient Step CHBG:'FFFFFF', chart area color Chbg_offset:'4b9b41'chart Area gradient end color Chbg_angle:' $'default 90 gradient angle Chbg_type:'Gradient'default solid Gradient mode title:'Bar Chart', chart title Title_color:'a98147', Title_size: -default ten grid:trueDefaultfalsegrid grid_x:5DefaultTenx-Axis mesh width grid_y:5, the default grid width Grid_line:5, the default Grid_blank:0default degree Fillarea:trueDefault chart area Fillbottom:truedefault Lower Filltop:truedefault Charging lines: [[4,2,2],[6,3,3]] [line width, dot width, blank width], point line chart

Code Analysis

From the above code can be seen, in fact, the use of this plugin to make a chart of different types. The value that needs to be modified is type

The type supported types are described here:

Line chart LC

Point line Diagram Lxy

Sparkline Graph LS

Stacked Horizontal bar Chart BHS

Stacked Vertical Bar Chart BvS

Horizontal bar Chart BHG

Vertical bar Chart BVG

Pie chart P

Three-dimensional pie chart p3

Venn Diagram V (not currently seen, you can try)

Scatter chart s (not currently seen, you can try)

Radar Graph R (not currently seen, you can try)

Map T (currently not seen, you can try)

Instrument Gom

Gchart Plugin API

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.