javascript - How to align two texts on right in d3 -


How to align the text to the left of another text right?

Two different element texts (one for numbers and one for 'R $') because each has a different style (like image below)

"Https://i.stack.imgur.com/AxUrJ.png" alt = "Enter image details here">

To facilitate the example, make a small code in JSBin

So that it is next to each value that you say? To wit. Such as "

  text = summary.append" text ".attr" text-anchor ":" end ", x: 250 text.append" tspan ".text" R $ ".attr" Class ":" summary-currency "text .append" tspan ".text (d) -> D3.format (', 0f') D.attr" class ":" summary-value "   

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -