We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Actual Values of Data Labels on a Different Scale than on Chart

So, am I trying to overwwrite labels that overlap to different positions. However, when I do this:

LabelPosition initialLabelPosition = new LabelPosition()
    X = (series.DataPoints[j].Label.ActualX  -  + offsetX), 
    Y = (series.DataPoints[j].Label.ActualY t +offsetY), 
    Width = series.DataPoints[j].Label.ActualWidth, 
    Height = series.DataPoints[j].Label.ActualHeight  

The points label position that is returned here is on a different scale than the actual points.
I will attach a picture. You can see the points have the same distribution, but diffrent scale. Any ideas?
Untitled.png (7.5 KB)

Thank you for contacting support.

Please check your results using the latest version of Aspose.Slides if it is possible. If the issue persists, please share the following data and information:

  • input and output presentation files with the chart (you can zip the files and upload them here)
  • comprehensive and compilable code example that reprodices the problem
  • .NET target platform in your app
  • Aspose.Slides version you used