- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://dimplejs.org/
- 软件文档: https://github.com/PMSI-AlignAlytics/dimple/blob/master/README.md
- 官方下载: https://github.com/PMSI-AlignAlytics/dimple/archive/master.zip
软件介绍
Dimple 是一个面向对象的 API,它可以通过 d3.js 来创建灵活的轴线图。创建此项目的目的是让那些非 JavaScript 专家的程序员也能创建标准的(或者比较标准的)业务分析表格。
示例
开始
添加以下代码到您的HTML中:
<script src="http://d3js.org/d3.v3.min.js"></script>
添加dimple如下:
<script src="http://dimplejs.org/dist/dimple.v2.1.6.min.js"></script>
就是这样!如果你不知道从哪里开始,那就一个空白的文本文档,按照以下步骤并将其保存为HTML。
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://dimplejs.org/dist/dimple.v2.1.6.min.js"></script>
</head>
<body>
<script type="text/javascript">
var svg = dimple.newSvg("body", 800, 600);
var data = [
{ "Word":"Hello", "Awesomeness":2000 },
{ "Word":"World", "Awesomeness":3000 }
];
var chart = new dimple.chart(svg, data);
chart.addCategoryAxis("x", "Word");
chart.addMeasureAxis("y", "Awesomeness");
chart.addSeries(null, dimple.plot.bar);
chart.draw();
</script>
</body>
Think Python
Allen B. Downey / O'Reilly Media / 2012-8-23 / GBP 29.99
Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms ......一起来看看 《Think Python》 这本书的介绍吧!
