let me describe my situation:
1 i have an XYScatter chart in my excel js addin
2 and i need to add data labels to some of points in that chart
3 and here i have a problem - i do not understand how to set up that datalabels.
in my attemptions to solve it i had use this page https://learn.microsoft.com/en-us/javascript/api/excel/excel.chartdatalabels?view=excel-js-preview
and MS script lab for excel
please look at images below, these are my attempts to turn on displaying of any possible data but in any way i'm getting y axis data or no data at all. also in script lab i found only one example of datalabels and in my case it does not work.
but anyway documentations says that I shall have possibility to display plenty of data and not just y axis value. could you please clarify to me what I'm doing wrong or what I misunderstanding in documentation and please give me a hand with my main task - display some custom text as data label