Sha256: 465b1f9495edf11de36897b6141d74b49065414aeb7388b09041f65eb8990b8f

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

Stored size: 444 Bytes

Contents

<html>
  <head>
    <title>Anchor</title>
    <script type="text/javascript" src="protovis-r3.3.js"></script>
  </head>
  <body>
    <script type="text/javascript+protovis">

var vis = new pv.Panel()
    .width(200)
    .height(200)

vis.add(pv.Bar)
    .fillStyle("#ccc")
  .anchor("top").add(pv.Label)
    .text("top")
    .anchorTarget()
  .anchor("bottom").add(pv.Label)
    .text("bottom");

vis.render();

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubyvis-0.7.0 spec/fixtures/anchor.html
rubyvis-0.6.1 spec/fixtures/anchor.html
rubyvis-0.6.0 spec/fixtures/anchor.html
rubyvis-0.5.2 spec/fixtures/anchor.html
rubyvis-0.5.1 spec/fixtures/anchor.html
rubyvis-0.5.0 spec/fixtures/anchor.html
rubyvis-0.4.1 spec/fixtures/anchor.html
rubyvis-0.4.0 spec/fixtures/anchor.html