This information is not provided in the formatter parameter, so you need to keep the data in your code and infer from the label name.
Thanks *Ovilia* On Fri, Jun 16, 2023 at 3:56 PM Laxman Kumar Dwivedi <[email protected]> wrote: > Actually we not able to find the exact formatter to return percentage. > Can you please suggest one example with label formatter > > Get Outlook for Android <https://aka.ms/AAb9ysg> > ------------------------------ > *From:* Ovilia <[email protected]> > *Sent:* Friday, June 16, 2023 1:12:23 PM > *To:* [email protected] <[email protected]>; Laxman Kumar > Dwivedi <[email protected]> > *Subject:* Re: Sankey Chart Percentage of nodes in each level > > Hi, > > Please check the demos at > https://echarts.apache.org/examples/en/index.html#chart-type-sankey > You need to set label.formatter and return the calculated percentage. > > Thanks > > *Ovilia* > > > On Fri, Jun 16, 2023 at 3:39 PM Laxman Kumar Dwivedi <[email protected]> > wrote: > > hi team, > I am using Echarts to draw Sankey chart. > I want to show node percentage at each level. > how to calculate it. > > please reply to this email asap. > >
