Legend, 翻译过来的意思是图例。
在Extjs 的Chart 中, 到底右边红色框起来的部分就是Legend 了。
在 Extjs Chart 的定义中, 可以通过配置 legend 的配置值(configs)来设置Legend 显示的位置和样式:
position 配置显示的位置:可以设置的值有 "top","bottom", "left", "right", or "float"。
其他还可以设置图例显示的文字、图的样式等等, 详细可以参见 Ext.chart.Legend 的参考文档。代...
分类:
Web程序 时间:
2014-06-04 22:49:05
阅读次数:
526
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-04 20:57:08
阅读次数:
360
http://blog.csdn.net/hgl868/article/details/8576531scriptable接口的实现,与属性有关的函数为HasProperty、GetProperty、SetProperty。在JS中设置属性(以bar为例)用plugin.bar=barvalue;来...
Givennnon-negative integers representing an
elevation map where the width of each bar is 1, compute how much water it is
able to trap after raining.Fo...
分类:
移动开发 时间:
2014-06-04 19:15:23
阅读次数:
345
昨天谈了界面的换肤问题,今天拿一个简单的界面来介绍一下怎么设计一个五脏俱全的界面,总体效果如下图(种类的图片随便找的^^):
创建一个winform项目,在上面拉进去一个bar管理器和图片列表: 在菜单栏、工具栏和状态栏中,分别加入菜单、编辑栏、按钮和静态文本:
菜单栏改名并设置好图片: ...
分类:
其他好文 时间:
2014-06-03 08:20:15
阅读次数:
437
我在学习JS初期,在使用this的时候经常出现问题,当然就是在现在,也有一些场景不能很好的明白this到底指代的是什么?看下面一个例子: var x = 10;
var foo = { x: 20, bar: function() { a...
分类:
Web程序 时间:
2014-05-31 19:18:38
阅读次数:
358
ActionBar,顾名思义,小伙伴们,你们想到了什么呢?
嘿嘿,其实就是一个可以代替以前类似于iPhone手机导航栏效果的title在Android手机界面的位置的一种bar的设计! 有几个事注意点哦!
不能设置界面全局和没有标题哦!这样的话,actiobar找不到自己生存的空间,就会死掉。 .....
分类:
其他好文 时间:
2014-05-31 17:29:04
阅读次数:
395
在iOS应用的开发过程中,经常会使用,setFrame的方式对UIView进行布局,经常会使用计算的方式,如self.view.bounds.size.height
- 20-44- Heignt等来计算Y的相对位置我们知道上边的数字 20是status bar的高度,44是navigationBa...
分类:
其他好文 时间:
2014-05-31 15:09:59
阅读次数:
231
body{ background-position:center;
background-repeat:no-repeat; }div#div1{ position:fixed; top:0; left:0; bottom:0;
right:0; z-i...
分类:
其他好文 时间:
2014-05-31 14:11:16
阅读次数:
243
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-30 14:59:37
阅读次数:
241