Scatter-chart-example-using-aspose-pdf-dotnet

Hi Team,

Please provide an example to render a scatter chart using Aspose pdf Dotnet without using aspose cell.

Thanks,
Suresh
AsposeScatter.PNG (43.7 KB)

Babu

@sanjai03

We believe that we have already answered to your similar inquiry in other thread where you can please follow up.

Thanks for your support.

We have purchased Apose cells and tried the scatter chart with sample examples as they provided But we need the code for adding the draw an arrow or line shape as per the attached screenshot image for your reference Please assist.
ScatterDesign.PNG (48.1 KB)

@sanjai03,

Thanks for the screenshot.

The lines you are talking about are leader lines which are shown attached to the data labels on the chart. Using Aspose.Cells, you can try setting the HasLeaderLines Boolean property on your specific series to True for your requirements. See the sample lines of code.

// Enable leader lines for the first data series
chart.NSeries[0].HasLeaderLines = true;

In case you still could not accomplish the task or find any issue, kindly do provide a sample Excel file containing your expected chart in it. You can create your desired chart in MS Excel (having leader lines for series labels) manually, save the Excel file, zip it and share the zipped archive here. We will check your issue soon.