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