@Amjad_Sahi,
I found the same problem when using table data to draw scatter chart and render images.
Sample code:
Workbook workbook = new Workbook(“e:\sactter.xlsx”);
Worksheet worksheet = workbook.Worksheets[0];
int chartIndex = worksheet.Charts.Add(ChartType.Scatter, 0, 5, 20, 15);
Chart chart = worksheet.Charts[chartIndex];
var chartRange = $"{CellsHelper.CellIndexToName(1, 2)}:{CellsHelper.CellIndexToName(11, 2)}";
chart.NSeries.Add(chartRange, true);
chart.NSeries.CategoryData = $"{CellsHelper.CellIndexToName(1, 1)}:{CellsHelper.CellIndexToName(11, 1)}";
chart.ShowLegend = false;
chart.PlotArea.Area.FillFormat.FillType =FillType.None;
chart.PlotArea.Border.FormattingType = ChartLineFormattingType.None;
chart.ValueAxis.MajorGridLines.FormattingType = ChartLineFormattingType.None;
chart.CategoryAxis.TickLabels.NumberFormat = "General";
chart.ValueAxis.TickLabels.NumberFormat = "General";
var series = chart.NSeries[0];
series.DataLabels.Position = LabelPositionType.Above;
series.DataLabels.LinkedSource = $"=Sheet2!$A$2:$A$12";
series.DataLabels.ShowCellRange = true;
series.HasLeaderLines = false;
chart.ValueAxis.MaxValue = 100;
chart.ValueAxis.MajorUnit =14;
chart.ValueAxis.MinValue = 72;
chart.CategoryAxis.MaxValue = 100;
chart.CategoryAxis.MinValue = 86;
chart.CategoryAxis.MajorUnit = 7;
chart.ToImage("e:\\output.png", ImageFormat.Png);
ExcelAndImage.zip (10.8 KB)