You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by Amal BinHelal <am...@gmail.com> on 2020/07/05 19:41:35 UTC
Bar label contain 3 strings
Hello
Dear Wenli,
I hope you find my email well
I want to have 3 string in the label but only i can have one with the value
{b} and {c}
Let assume I have these data
{value:50, name: "user", description:"text", country: "France"}
How I can manage that ? to show it in bar label
Tried to have function with loop in formatter but it didn’t work
Thank you so much for your hard work I really precipitate your effort
--
Regards, Amal BinHelal
Re: Bar label contain 3 strings
Posted by Wenli Zhang <me...@zhangwenli.com>.
Hi,
Do you mind creating a demo for us to understand better?
You can create one using https://gallery.echartsjs.com/editor.html (Chinese)
or https://codepen.io/Ovilia/pen/dyYWXWM .
Thanks
*Ovilia*
On Mon, Jul 6, 2020 at 3:41 AM Amal BinHelal <am...@gmail.com> wrote:
> Hello
> Dear Wenli,
> I hope you find my email well
>
> I want to have 3 string in the label but only i can have one with the
> value {b} and {c}
> Let assume I have these data
> {value:50, name: "user", description:"text", country: "France"}
>
> How I can manage that ? to show it in bar label
> Tried to have function with loop in formatter but it didn’t work
>
> Thank you so much for your hard work I really precipitate your effort
>
>
> --
> Regards, Amal BinHelal
>