Aspose.Slides for Java 15.2.0'de Genel API ve Geriye Uyumsuz Değişiklikler

Genel API Değişiklikleri

addDataPointForDoughnutSeries metotları eklendi

IChartDataPointCollection.addDataPointForDoughnutSeries() metodunun iki aşırı yüklemesi, Donut tipi serilere veri noktaları eklemek için eklendi.

com.aspose.slides.SmartArtShape sınıfı com.aspose.slides.GeometryShape sınıfından miras alındı

com.aspose.slides.SmartArtShape sınıfı, com.aspose.slides.GeometryShape sınıfından miras almıştır. Bu değişiklik, Aspose.Slides nesne modelini iyileştirir ve SmartArtShape sınıfına yeni özellikler ekler.

IGradientStopCollection.add(…) ve IGradientStopCollection.insert(…) metotları değiştirildi

IGradientStop add(float position, int presetColor) imzası, IGradientStop addPresetColor(float position, int presetColor) imzası ile değiştirildi.

IGradientStopCollection üzerindeki IGradientStop add(float position, SchemeColor schemeColor) imzası, IGradientStop addSchemeColor(float position, int schemeColor) imzası ile değiştirildi.

IGradientStopCollection metodunun void insert(int index, float position, int presetColor) imzası, void insertPresetColor(int index, float position, int presetColor) imzası ile değiştirildi.

IGradientStopCollection metodunun void insert(int index, float position, SchemeColor schemeColor) imzası, void insertSchemeColor(int index, float position, int schemeColor) imzası ile değiştirildi.

java.awt.Color getAutomaticSeriesColor() metodu com.aspose.slides.IChartSeries’e eklendi

getAutomaticSeriesColor() metodu, seri indeksi ve grafik stiline göre serinin otomatik rengini döndürür. Bu renk, FillType NotDefined olduğunda varsayılan olarak kullanılır.


 Presentation pres = new Presentation();

IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 100, 50, 600, 400);

for (int i = 0; i < chart.getChartData().getSeries().size(); i++)

{

    chart.getChartData().getSeries().get_Item(i).getAutomaticSeriesColor();

}

Endeksine göre grafik veri noktasını ve grafik kategorisini kaldırma metodu eklendi

IChartDataPointCollection.removeAt(int index) metodu, grafik veri noktasını endeksine göre kaldırmak için eklendi. IChartCategoryCollection.removeAt(int index) metodu, grafik kategorisini endeksine göre kaldırmak için eklendi.

PptXPptY değeri com.aspose.slides.PropertyType enumerasyonuna eklendi

PptXPptY değeri, bir serileştirme sorunu düzeltmesi kapsamında com.aspose.slides.PropertyType enumerasyonuna eklendi.