You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "helgasoft (via GitHub)" <gi...@apache.org> on 2024/07/08 19:49:48 UTC
Re: [I] [Bug] VerticalAlign middle not working [echarts]
helgasoft commented on issue #20131:
URL: https://github.com/apache/echarts/issues/20131#issuecomment-2215059833
keep in mind that all spaces and new-lines in _formatter_ count. So instead of
```
formatter: function () {
return `{img|}
{name|RELIANCE}
{firstValue|3,201.80}
{secondValue|0.77%}`
},
```
we should write ```formatter: "{img|}\n{name|RELIANCE}\n{firstValue|3,201.80}\n{secondValue|0.77%}"```.
Also - arbitrary image URLs will not work inside the Editor, probably for security reasons.
[Demo](https://echarts.apache.org/examples/en/editor.html?c=treemap-simple&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWxgCeIWxA5GDllgLYCGITANFQoATLmC7Ey1aqilToXDo1hNowIVgCC_QbIBuXADYBXJQEYADANnUAxgAsIBoW2gSd1mddnzFzVeo0ubS89QxNiABZ3WQBfKxD0TwT0HyUVNU0AI2Dk9H1jJQA2aKkYkvQAXRK4kqTrVL8MgCEcr3zw2AAmS3LYe0dnLFdSXsTRigblfywmoPjc9qVu-eT-pxc3XOlx7wU06dnTVq28sKXzHYoyk6rc65Db63vqCpX0Ay5MrANiOuoAM2AOG4YDAuGIAAMkBAOABzAA-MQAOtAkKl4QAlACiABkAJIaAByAGEscjUf8IDgMGAAGpneEAZj43VMADoABzmclIbA2GBCekFeHmNkAdjFAFIYhDqm8KHh7L9ejDYcrcpkuDYANawnDAIzQITE4AGIHqrYAektMK4sLSdlBICI1owjIAtBhaBxMqb3WbYcA2awuEIINBYbp8AB3Nn8jiWtgGCBcaA2LDu8NCIw0vCGTPQf44Li5ow2MBGNhsjC6WHHBK2-3MR1gZ2Ea1YexcHBgDBsnhauxYNlA2GWoY27j2jCWgNBkARpjjGq5IcQWGO4gWHq5aMQIRgOxb8w75K-nDqHAY0MQHPEACsp4ShnXwyY6egYJw9esulwkBsQwNGTWE3w4fchAMLAlwSFcQkmP5rBfUDmA_L8f1kQFPwAZQgAAvJYInlWR-TNHBmAAYgAMRojCpDBAAPMAABVi2gDBAWBZgjBABgcEA7AYJCOCvEpak6TOC1nxAt80NwOiARgMBcII4hlnGUjzWUajaOI-isCY1jUw4oEOG43jcAE6DehE6w-QFIUOkQ2RkNkoZ0L0xScPwswOU8ihNPI7SaKohSKEY
li2JMrjlB4virKErxnlKPTXNQ9z5L0v8ewgQCDGA19mHAoRIOs2JBHuKoYgAbiAA)
📌 please close issue if problem solved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org