这在附另一个转柱形图的效果及代码.
原PHP报表效果:
转成Excel后的效果:
附上代码:
<?php
/**
* PHPExcel
*
* Copyright (C) 2006 - 2014 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify ...
分类:
Web程序 时间:
2014-05-10 02:19:56
阅读次数:
553
Given a triangle, find the minimum path sum from
top to bottom. Each step you may move to adjacent numbers on the row below.For
example, given the fol...
分类:
其他好文 时间:
2014-05-08 21:08:25
阅读次数:
407
发生折叠需要是相邻的非浮动元素;折叠发生在垂直外边距上,即margin-top/margin-bottom;折叠后取其中最大的那个margin值作为最终值;浮动元素不折叠。在水平书写模式下,发生margin折叠的是垂直方向,即margin-top/margin-bottom,在垂直书写模式下,mar...
分类:
其他好文 时间:
2014-05-08 12:28:04
阅读次数:
302
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-07 02:55:24
阅读次数:
377
DockPanel为容器控件
主要了解其Dock属性和LastChildFill属性的使用
一、LastChildFill="True"
时
代码:
DockPanel.Dock="Top">Top
Bottom
Left
Right
Fill
效果图:
...
分类:
其他好文 时间:
2014-05-06 19:27:51
阅读次数:
375
1、到今天完成39题,还需要不停的加油。今天再分析下装雨水这道题Given n
non-negative integers representing an elevation map where the width of each bar
is 1, compute how much water i...
分类:
移动开发 时间:
2014-05-06 14:08:48
阅读次数:
490
BFS以及它的扩展,我发现栈是个很好用的数据结构,特别是对于顺序需要颠倒的时候!!!这里有个重要的信息:可以用null来标识一个level的结束!!!下面是AC代码:
1 /** 2 * Given a binary tree, return the bottom-up level ord...
分类:
其他好文 时间:
2014-05-05 09:46:06
阅读次数:
402
一些属性解释。几个自己认为常用到的属性baseline:默认数值,px
百分比等是元素相对于基线偏移值,负数为向下偏移,正数为向上;text-top:把用vertical属性元素的顶端与父元素中的文字顶端对齐;text-bottom:把用vertical属性元素的底端与父元素中的文字底端对齐;这里说...
分类:
其他好文 时间:
2014-05-04 19:29:49
阅读次数:
314
现在网上的教材都是老版本的,现在的版本并没有DragPanelContents脚本,所以我对着现在的DEMO琢磨出了实现方法第一,创建NGUIui,其他组件不必创建,我只要NGUI这个摄影机,将这个NGUI设置为2D层,下面子组件都属于2D层创建ScrollView,之后在下面创建Grid把他里面的脚本去掉,..
分类:
其他好文 时间:
2014-05-04 17:28:50
阅读次数:
426
tmux中默认的shell是zsh,zsh在日常中使用可以协助我们高效地使用shell命令。#
设置Shellset-option -g default-shell /bin/zsh# 设置复制模式,空格开始选,Enter结束复制setw -g
mode-keys vi #开启status-bar ...
分类:
系统相关 时间:
2014-05-03 22:06:18
阅读次数:
1323