JohnCoene / echarts4r

🐳 ECharts 5 for R
http://echarts4r.john-coene.com/
Other
595 stars 81 forks source link

Added name parameter to e_append1_p #500

Closed lhabegger closed 1 year ago

lhabegger commented 1 year ago

ran into issues with scatter plot using the bind attribute in e_scatter (which maps to the name attribute in the final seriesData array).

Appending data using e_append1p did not include the name attribute, causing tooltips to miss this and click handlers to fail.

Quick fix to allow name column to be passed to e_append1_p_

Code for generating the final list could be improved, but currently short in time

munoztd0 commented 1 year ago

Thanks !