http://www.highcharts.com/demo/line-ajax参考设置(bar 柱状图)plotOptions: { series: { cursor: 'pointer', point: { events: { click: function (e) { alert(this.....
分类:
其他好文 时间:
2015-07-22 20:44:55
阅读次数:
339
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histogram where width o...
分类:
其他好文 时间:
2015-07-22 14:40:08
阅读次数:
95
NSTableView主要代码// create a table view and a scroll viewNSScrollView * tableContainer = [[NSScrollView alloc] initWithFrame:NSMakeRect(10, 10, 380, 200...
分类:
其他好文 时间:
2015-07-22 12:59:15
阅读次数:
105
在做自己的第一个 iOS app,一路遇到不少困难,好在靠 Google 和 StackOverflow 都解决了,自己也不知道是否是 best practice,为了赶进度只要 work 就好。
隐藏 Tab bar
在以 Tab bar 划分模块的 app 中有些非一级界面是不需要底部的标签栏的,只需要在该 ViewController 的viewWillAppear:中加入设置标...
分类:
移动开发 时间:
2015-07-22 10:54:49
阅读次数:
115
为了方便演示,我用storyBoard建立了一个基本的导航栏 并在代码中获得了NavgationBar UINavigationBar *bar = self.navigationController.navigationBar;1[bar setTintColor:[UIColor whiteCo...
分类:
移动开发 时间:
2015-07-21 12:32:24
阅读次数:
129
Given n non-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.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2015-07-20 19:45:52
阅读次数:
175
下面我们先看一个例子已经一张图。function Foo() {}Object.prototype.name = 'My Object';Foo.prototype.name = 'Bar';var obj = new Object();var foo = new Foo();console.log...
分类:
编程语言 时间:
2015-07-20 19:16:35
阅读次数:
138
$(window).bind("scroll", function () { if ($(document).scrollTop() + $(window).height() > $(document).height() - 5) { //做些什么...
分类:
移动开发 时间:
2015-07-20 16:10:44
阅读次数:
149
题目:
Given n non-negative integers
representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histogram where wi...
分类:
编程语言 时间:
2015-07-19 13:35:37
阅读次数:
128