Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d3.select('#myDiv').select('svg').append('g')
- .append('text')
- .text('myText')
- .attr('x', xPosition)
- .attr('y', yPosition)
- .attr('class', 'label');
- .label {
- font-family: sans-serif;
- font-size: 1em;
- transform: rotate(90deg);
- }
Add Comment
Please, Sign In to add comment