业务分析 API Dimple

码农软件 · 软件分类 · 报表/图表制作 · 2019-08-19 13:28:44

软件介绍

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>

本文地址:https://codercto.com/soft/d/12706.html

Introduction to Computation and Programming Using Python

Introduction to Computation and Programming Using Python

John V. Guttag / The MIT Press / 2013-7 / USD 25.00

This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including PyLab. It provides student......一起来看看 《Introduction to Computation and Programming Using Python》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

html转js在线工具
html转js在线工具

html转js在线工具