SparklineGroupCollection
İçindekiler
[
Saklamak
]SparklineGroupCollection class
Bir koleksiyonu kapsüllerSparklineGroup nesneler.
public class SparklineGroupCollection : CollectionBase<SparklineGroup>
Özellikleri
| İsim | Tanım |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | SparklineGroup belirtilen dizindeki öğe. |
| Item { get; set; } |
yöntemler
| İsim | Tanım |
|---|---|
| Add(SparklineType, string, bool, CellArea) | BirSparklineGroup koleksiyona öğe. |
| BinarySearch(SparklineGroup) | |
| BinarySearch(SparklineGroup, IComparer<SparklineGroup>) | |
| BinarySearch(int, int, SparklineGroup, IComparer<SparklineGroup>) | |
| Clear() | |
| ClearSparklineGroups(CellArea) | Bir hücre alanıyla örtüşen mini grafik gruplarını temizler. |
| ClearSparklines(CellArea) | Bir hücre alanı içindeki mini grafikleri temizler. |
| Contains(SparklineGroup) | |
| CopyTo(SparklineGroup[]) | |
| CopyTo(SparklineGroup[], int) | |
| CopyTo(int, SparklineGroup[], int, int) | |
| Exists(Predicate<SparklineGroup>) | |
| Find(Predicate<SparklineGroup>) | |
| FindAll(Predicate<SparklineGroup>) | |
| FindIndex(Predicate<SparklineGroup>) | |
| FindIndex(int, Predicate<SparklineGroup>) | |
| FindIndex(int, int, Predicate<SparklineGroup>) | |
| FindLast(Predicate<SparklineGroup>) | |
| FindLastIndex(Predicate<SparklineGroup>) | |
| FindLastIndex(int, Predicate<SparklineGroup>) | |
| FindLastIndex(int, int, Predicate<SparklineGroup>) | |
| GetEnumerator() | |
| IndexOf(SparklineGroup) | |
| IndexOf(SparklineGroup, int) | |
| IndexOf(SparklineGroup, int, int) | |
| LastIndexOf(SparklineGroup) | |
| LastIndexOf(SparklineGroup, int) | |
| LastIndexOf(SparklineGroup, int, int) | |
| RemoveAt(int) |
Örnekler
[C#]
Workbook book = new Workbook();
Worksheet sheet = book.Worksheets[0];
sheet.Cells["A1"].PutValue(5);
sheet.Cells["B1"].PutValue(2);
sheet.Cells["C1"].PutValue(1);
sheet.Cells["D1"].PutValue(3);
// CellArea'yı tanımlayın
CellArea ca = new CellArea();
ca.StartColumn = 4;
ca.EndColumn = 4;
ca.StartRow = 0;
ca.EndRow = 0;
int idx = sheet.SparklineGroupCollection.Add(Aspose.Cells.Charts.SparklineType.Line, "A1:D1", false, ca);
SparklineGroup group = sheet.SparklineGroupCollection[idx];
group.SparklineCollection.Add(sheet.Name + "!A1:D1", 0, 4);
book.Save("output.xlsx", SaveFormat.Xlsx);
Ayrıca bakınız
- class CollectionBase<T>
- class SparklineGroup
- ad alanı Aspose.Cells.Charts
- toplantı Aspose.Cells