Sha256: e12a472714cc2b3e60755a99c1fefd464a2f0e5fe80af9b39a0d1aac067c6491

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

<html>
  <head>
    <title>Flare Radial</title>
    <script type="text/javascript" src="../../protovis-d3.3.js"></script>
    <script type="text/javascript" src="../flare.js"></script>
  </head>
  <body>
    <script type="text/javascript+protovis">

var vis = new pv.Panel()
    .width(900)
    .height(900);

var layout = vis.add(pv.Layout.Partition.Fill)
    .nodes(pv.dom(flare).root("flare").nodes())
    .size(function(d) d.nodeValue)
    .order("ascending")
    .orient("radial");

layout.node.add(pv.Wedge);

layout.label.add(pv.Label)
    .visible(function(d) d.angle * d.innerRadius >= 7);

vis.render();

    </script>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyvis-0.1.1 vendor/tests/layout/partition-radial-fill3.html