06 2015 档案

摘要:Armed with themapandconcatAllfunctions, we can create fairly complex interactions in a simple way. We will use Observable to create a simple drag and ... 阅读全文
posted @ 2015-06-30 21:37 Zhentiw 编辑
摘要:Like an array, Observable has a map method that allows us to transform a sequence into a new Observable.var Observable = Rx.Observable;//Create click ... 阅读全文
posted @ 2015-06-25 04:55 Zhentiw 编辑
摘要:Leaking logic in controllers is not an option, filters are a way to refactor your code and are compatible with ng-if and ng-show. Admin div ... 阅读全文
posted @ 2015-06-25 03:59 Zhentiw 编辑
摘要:In this lesson we will get introduced to theObservabletype. An Observable is acollection that arrives over time. Observables can be used to model even... 阅读全文
posted @ 2015-06-24 15:44 Zhentiw 编辑
摘要:Javascript modules are a design pattern that allow you to encapsulate your code into smaller self managing pieces. They help you separate your code, p... 阅读全文
posted @ 2015-06-24 15:01 Zhentiw 编辑
摘要:>> node>>fs.readFile('finnish.txt', function(err,data){ console.log(data);});// Output string is not what we want>>fs.readFile('finnish.txt', funct... 阅读全文
posted @ 2015-06-18 01:03 Zhentiw 编辑
摘要:1. Install ionic2. Create ionic appionic start myApp tabs //create a appcd myAppionic serve // open the webgoto /#/tab/account // go to one state3. ... 阅读全文
posted @ 2015-06-14 23:27 Zhentiw 编辑
摘要:timeoutLog.js:var apiCheckFactory = require('api-check');var myCheck = apiCheckFactory();module.exports = timeoutLog;var api = [ myCheck.number, myC... 阅读全文
posted @ 2015-06-09 17:26 Zhentiw 编辑
摘要:Integrating D3 with Angular can be very simple. In this lesson, you will learn basic integration as well as how to create D3 charts that can be packag... 阅读全文
posted @ 2015-06-07 22:48 Zhentiw 编辑
摘要:MathScienceReading MathScienceReading 阅读全文
posted @ 2015-06-05 23:06 Zhentiw 编辑
摘要:selection.call() method in D3 can aid in code organization and flexibility by eliminating the need to use chained method calls for every operation. ... 阅读全文
posted @ 2015-06-05 22:29 Zhentiw 编辑
摘要:Up until now we've just looked at bar charts. A handy chart, no doubt, but D3 offers a variety of charts you can work with. In this lesson we'll conve... 阅读全文
posted @ 2015-06-04 15:54 Zhentiw 编辑
摘要:If you want ot add margins, should appendgraphics container in svg var svg = d3.select('#chartArea').append('svg') .attr('width', w + ma... 阅读全文
posted @ 2015-06-04 15:40 Zhentiw 编辑
摘要:# Quantitative Scales var colorScale = d3.scale.quantile() .domain([d3.max(dataset) / 4, d3.max(dataset) / 2 , 3*d3.max(dataset) / 4, d3... 阅读全文
posted @ 2015-06-04 15:27 Zhentiw 编辑
摘要:# d3.max```js var xScale = d3.scale.ordinal() .domain(dataset) .rangeBands([0,w],0.3, 0.1);```### use:```js .attr('width',... 阅读全文
posted @ 2015-06-03 22:27 Zhentiw 编辑
摘要:how to used3.maxto normalize your dataset visually within the specific bounds of a variable domain. 阅读全文
posted @ 2015-06-03 22:11 Zhentiw 编辑
摘要:d3.scale.linear() 阅读全文
posted @ 2015-06-03 22:09 Zhentiw 编辑
摘要:1. svg should use 'fill' prop instead 'background-color'2. svg width & height no need 'px'3. attr(function(data_val, index){})4. create svg, d3.select... 阅读全文
posted @ 2015-06-03 22:08 Zhentiw 编辑
摘要:if (strpos($data ,chr(0x95)) !== false) { echo 'true';}else{ echo "false";} 阅读全文
posted @ 2015-06-02 22:57 Zhentiw 编辑

点击右上角即可分享
微信分享提示