Reporting Dashboard

A

var myChart echarts.init = ($ ( "# cc_div") GET (0. ;))
             // the specified configurations and the data table 
            Option = { 
                ToolTip: { 
                    Formatter: "{A} {B} a: C%} { " 
                }, 
                Series: [ 
                    { 
                        type: " gauge " ,
                         // Center: [" 100% "," 100% "], // default global center 
                        RADIUS:" 100% " ,
                         // startAngle: 210 , 
                        // endAngle: -30, 
                        name: 'business indicators' ,
                        Detail: {Formatter: '{value}%' }, 
                        SplitLine: { // dividing line pattern (10, 20, and other long-term pattern) 
                            length: 10 , 
                            lineStyle: { // attributes lineStyle control line style 
                                width: 2 
                            } 
                        }, 
                        axisLine: {       // disk axis meter configuration 
                            Show: to true , 
                            the lineStyle: { 
                                width: 10,   // axial width
                            }, 
                        }, 
                        AxisTick: { // scale line style (style and short) 
                            length: 10 
                        }, 
                        AxisLabel: { // dial numbers text style (and "10", "20" and text style) 
                            Color: "Black" , 
                            distance: . 1, // text dial distance from 
                            the fontSize: 10 
                        }, 
                        pointer: { // pointer style 
                            length: '68% ' , 
                            width: . 3
                        }, 
                        Detail: { // bottom or metric data pattern written description 
                            Formatter: "{Score |% {value}}" , 
                            offsetCenter: [ 0, "50%" ], 
                            height: 0 , 
                            Rich: { 
                                Score: { 
                                    Color: "# 000" , 
                                    fontFamily: "Microsoft elegant black" , 
                                    fontSize: 10 
                                } 
                            }
                        }, 
                        Data: [{ // data 
                            value: Data, 
                            label: { 
                                textStyle: { 
                                    the fontSize: 12 is 
                                } 
                            }, 
                            // name: 'completion rate' 
                        }] 
                    } 
                ] 
            }; 
            // use just specified configuration data items and chart. 
            myChart.setOption (option);

 

Guess you like

Origin www.cnblogs.com/kkvt/p/12370004.html