JanKallman / EPPlus

Create advanced Excel spreadsheets using .NET
3.75k stars 1.17k forks source link

Epplus: How to do Scatter plot chart data labels with custom text? #373

Open smtmuruganbtech opened 5 years ago

smtmuruganbtech commented 5 years ago

I am writing code to generate the excel export with Scatter plot chart in my project using .Net Core 2.1, I was able to create Scatter chart as expected, but only i cannot make Custom data labels text near in each marker symbol plotted,

I want to be make my chart look like below screen cap, 2018-12-13_1705

But i am getting the result without data labels text, i couldn't make, the result below in screen cap, 2018-12-13_1710

kchristman54 commented 5 years ago

EPPlus seems to currently only support data labels that are tied to the y-value (example: https://stackoverflow.com/questions/37923392/how-do-i-change-a-data-label-on-an-excel-bar-chart-to-inside-base-using-epplus). I don't think EPPlus currently supports DataLabels that are tied to another cell.

However, the following may be of interest: