Hi Jonathan,
I have tried to understand the requirements shared by you and still things are not getting clear. Do you want to dynamically set the chart series data point values?
As far as your following question related to code sample is concerned.
sdtechsupport@siriusdecisions.com:
- Generated presentation(WhenAutomaticIsFalse.pptx) for which I have applied following coding
chart.Axes.VerticalAxis.IsAutomaticMinValue = false; chart.Axes.VerticalAxis.IsLogarithmic = true;
// chart.Axes.VerticalAxis.MinValue = 1000;
This is issue in your code. At one end you are setting
IsAutomaticMinValue to
false and on other end you have commented the line whereby you need to set the
MinValue yourself. Actually,
IsAutomaticMinValue=false means that you will set the
MinValue yourself. So when you comment the
MinValue line, the charts get corrupted and you get false presentation. This is not an issue but wrong implementation.
sdtechsupport@siriusdecisions.com:
I
want Min Value to adjust like in our UI chart without providing it from
code side. So I commented the last line in above code which produced a
presentation with error and not showing its slide.
If you set the
IsAutomaticMinValue to true, Aspose.Slides charting engine will automatically choose the value for you based on chart series data.
I hope the shared information will be helpful.
Many Thanks,
chart.Axes.VerticalAxis.IsAutomaticMinValue = true;