Sha256: d6a80be5f429f33f1add6dd5c5de77e3376b4c87ff985ee4f7eadc6affdb9cf7

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

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

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

vis.add(pv.Bar)
    .top(0)
    .height(100)
    .fillStyle("brown")
    .title("Hello, world!")
  .anchor("center").add(pv.Label)
    .text("I HAS A TITLE");

vis.add(pv.Bar)
    .top(100)
    .height(100)
    .fillStyle("orange")
    .title(0)
  .anchor("center").add(pv.Label)
    .text("I HAS A 0 TITLE");

vis.add(pv.Bar)
    .top(200)
    .height(100)
    .fillStyle("steelblue")
    .title("")
  .anchor("center").add(pv.Label)
    .text("I HAS AN EMPTY TITLE");

vis.render();

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyvis-0.1.1 vendor/tests/mark/title.html