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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -