Components Interactions Examples Tutorials API FAQ

Regular Label

new Plottable.Components.Label("Hello World!")
  .yAlignment("center")
  .renderTo("svg#example");

Public Methods

.text()/.text(text)

Gets/sets the text in the label.