ShuiBo'blog

人生若只如初见

嗨,我是水波 (@saber).


君以国士待我,我必国士报之。

chart视图

$config = array(
            ''chart'' => array(
                ''zoomType''  => ''xy'',
            ),
            ''title'' => array(
                ''text''  => $this->title,
            ),
            ''subtitle'' => array(
                ''text''  => $this->description,
            ),
            ''xAxis'' => array(
                ''categories'' => array()
            ),
            ''yAxis'' => array(
                ''title'' => array(
                    ''text'' => ''Count''
                )
            ),
            ''tooltip'' => array(
                ''crosshairs'' => true,
                ''shared''     => true,
            ),
            ''plotOptions'' => array(
                ''line'' => array(
                    ''dataLabels'' => array(
                        ''enabled'' => true
                    ),
                ),
                ''enableMouseTracking'' => false,
                ''column''=> array(
                    ''stacking''=> ''normal'',
                    ''dataLabels''=> array(
                        ''enabled''=> true,
                        ''color''=> ''white'',
                        ''style''=> array(
                            ''textShadow''=> ''0 0 3px black''
                        )
                    )
                )
            ),
            ''legend''=>array(
                ''layout'' => ''vertical'',
                ''align'' => ''left'',
                ''x'' => 120,
                ''verticalAlign'' => ''top'',
                ''y'' => 100,
                ''floating'' => true,
                ''backgroundColor'' => ''#FFFFFF''
            ),
            ''series'' => array(
                array(
                    ''name'' => ''Tokyo'',
                    ''data'' => array(7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6),
                ),
                array(
                    ''name'' => ''London'',
                    ''data'' => array(3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8),
                )
            )
        );

QQ截图20151023153806.png

最近的文章

wget 搭建lnmp环境

安装必要的软件yum install -y update yum install pcre yum install openssl* yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip...…

继续阅读
更早的文章

nginx1.6.0配置不对导致css js文件加载不了

nginx1.6.0的nginx.conf配置不知道为啥没有添加这个文件进去。所以,加载不了成text/css application/javascript 变成了plain。把include加上去就可以啦~…

继续阅读