上一页 1 ··· 460 461 462 463 464 465 466 467 468 ··· 494 下一页
摘要: 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 阅读(435) 评论(0) 推荐(0)
摘要: 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 阅读(255) 评论(0) 推荐(0)
摘要: # 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 阅读(354) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-06-03 22:43 Zhentiw 阅读(878) 评论(0) 推荐(0)
摘要: # 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 阅读(632) 评论(0) 推荐(0)
摘要: how to used3.maxto normalize your dataset visually within the specific bounds of a variable domain. 阅读全文
posted @ 2015-06-03 22:11 Zhentiw 阅读(1065) 评论(0) 推荐(0)
摘要: d3.scale.linear() 阅读全文
posted @ 2015-06-03 22:09 Zhentiw 阅读(294) 评论(0) 推荐(0)
摘要: 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 阅读(206) 评论(0) 推荐(0)
摘要: if (strpos($data ,chr(0x95)) !== false) { echo 'true';}else{ echo "false";} 阅读全文
posted @ 2015-06-02 22:57 Zhentiw 阅读(209) 评论(0) 推荐(0)
摘要: formatOutput = true;// Add a root node to the document$root = $doc->createElement('rows');$root = $doc->appendChild($root);// Loop through each row ... 阅读全文
posted @ 2015-05-28 14:51 Zhentiw 阅读(372) 评论(0) 推荐(0)
上一页 1 ··· 460 461 462 463 464 465 466 467 468 ··· 494 下一页