Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions english/aspose.cells.charts/sparkline/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,34 @@ The Sparkline type exposes the following members:



### Example


```python
from aspose.cells import CellArea, Workbook
from aspose.cells.charts import SparklineType
from aspose.cells.rendering import ImageOrPrintOptions

book = Workbook()
sheet = book.worksheets[0]
sheet.cells.get("A1").put_value(5)
sheet.cells.get("B1").put_value(2)
sheet.cells.get("C1").put_value(1)
sheet.cells.get("D1").put_value(3)
# Define the CellArea
ca = CellArea()
ca.start_column = 4
ca.end_column = 4
ca.start_row = 0
ca.end_row = 0
idx = sheet.sparkline_groups.add(SparklineType.LINE, sheet.name + "!A1:D1", False, ca)
group = sheet.sparkline_groups[idx]
idx = group.sparklines.add(sheet.name + "!A1:D1", 0, 4)
line = group.sparklines[idx]
print("Saprkline data range: " + line.data_range + ", row: " + str(line.row) + ", column: " + str(line.column))
line.to_image("output.png", ImageOrPrintOptions())

```

### See Also
* module [`aspose.cells.charts`](..)
26 changes: 26 additions & 0 deletions english/aspose.cells.charts/sparklinecollection/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,32 @@ The SparklineCollection type exposes the following members:



### Example


```python
from aspose.cells import CellArea, SaveFormat, Workbook
from aspose.cells.charts import SparklineType

book = Workbook()
sheet = book.worksheets[0]
sheet.cells.get("A1").put_value(5)
sheet.cells.get("B1").put_value(2)
sheet.cells.get("C1").put_value(1)
sheet.cells.get("D1").put_value(3)
# Define the CellArea
ca = CellArea()
ca.start_column = 4
ca.end_column = 4
ca.start_row = 0
ca.end_row = 0
idx = sheet.sparkline_groups.add(SparklineType.LINE, sheet.name + "!A1:D1", False, ca)
group = sheet.sparkline_groups[idx]
group.sparklines.add(sheet.name + "!A1:D1", 0, 4)
book.save("output.xlsx", SaveFormat.XLSX)

```

### See Also
* module [`aspose.cells.charts`](..)
* class [`Sparkline`](/cells/python-net/aspose.cells.charts/sparkline)
38 changes: 38 additions & 0 deletions english/aspose.cells.charts/sparklinegroup/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,44 @@ The SparklineGroup type exposes the following members:



### Example


```python
from aspose.cells import CellArea, SaveFormat, Workbook
from aspose.cells.charts import SparklineType
from aspose.pydrawing import Color

book = Workbook()
sheet = book.worksheets[0]
sheet.cells.get("A1").put_value(5)
sheet.cells.get("B1").put_value(2)
sheet.cells.get("C1").put_value(1)
sheet.cells.get("D1").put_value(3)
# Define the CellArea
ca = CellArea()
ca.start_column = 4
ca.end_column = 4
ca.start_row = 0
ca.end_row = 0
idx = sheet.sparkline_groups.add(SparklineType.LINE, "A1:D1", False, ca)
group = sheet.sparkline_groups[idx]
group.sparklines.add(sheet.name + "!A1:D1", 0, 4)
# Create CellsColor
clr = book.create_cells_color()
clr.color = Color.orange
group.series_color = clr
# set the high points are colored green and the low points are colored red
group.show_high_point = True
group.show_low_point = True
group.high_point_color.color = Color.green
group.low_point_color.color = Color.red
# set line weight
group.line_weight = 1.0
book.save("output.xlsx", SaveFormat.XLSX)

```

### See Also
* module [`aspose.cells.charts`](..)
* class [`Sparkline`](/cells/python-net/aspose.cells.charts/sparkline)
Expand Down
26 changes: 26 additions & 0 deletions english/aspose.cells.charts/sparklinegroupcollection/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,32 @@ The SparklineGroupCollection type exposes the following members:



### Example


```python
from aspose.cells import CellArea, SaveFormat, Workbook
from aspose.cells.charts import SparklineType

book = Workbook()
sheet = book.worksheets[0]
sheet.cells.get("A1").put_value(5)
sheet.cells.get("B1").put_value(2)
sheet.cells.get("C1").put_value(1)
sheet.cells.get("D1").put_value(3)
# Define the CellArea
ca = CellArea()
ca.start_column = 4
ca.end_column = 4
ca.start_row = 0
ca.end_row = 0
idx = sheet.sparkline_groups.add(SparklineType.LINE, "A1:D1", False, ca)
group = sheet.sparkline_groups[idx]
group.sparklines.add(sheet.name + "!A1:D1", 0, 4)
book.save("output.xlsx", SaveFormat.XLSX)

```

### See Also
* module [`aspose.cells.charts`](..)
* class [`SparklineGroup`](/cells/python-net/aspose.cells.charts/sparklinegroup)
2 changes: 2 additions & 0 deletions english/aspose.cells.pivot/pivotitem/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ The PivotItem type exposes the following members:
| Property | Description |
| :- | :- |
| [is_hidden](/cells/python-net/aspose.cells.pivot/pivotitem/is_hidden) | Gets and Sets whether the pivot item is hidden. |
| [position](/cells/python-net/aspose.cells.pivot/pivotitem/position) | Specifying the position index in all the PivotItems,not the PivotItems under the same parent node. |
| [position_in_same_parent_node](/cells/python-net/aspose.cells.pivot/pivotitem/position_in_same_parent_node) | Specifying the position index in the PivotItems under the same parent node. |
| [is_hide_detail](/cells/python-net/aspose.cells.pivot/pivotitem/is_hide_detail) | Gets and Sets whether the pivot item hides detail. |
| [is_missing](/cells/python-net/aspose.cells.pivot/pivotitem/is_missing) | Indicates whether the item has a missing value. |
| [value](/cells/python-net/aspose.cells.pivot/pivotitem/value) | Gets the value of the pivot item |
Expand Down
27 changes: 27 additions & 0 deletions english/aspose.cells.pivot/pivotitem/position/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: position property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 120
url: /aspose.cells.pivot/pivotitem/position/
is_root: false
---

## position property


Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.
### Definition:
```python
@property
def position(self):
...
@position.setter
def position(self, value):
...
```

### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotItem`](/cells/python-net/aspose.cells.pivot/pivotitem)
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: position_in_same_parent_node property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 130
url: /aspose.cells.pivot/pivotitem/position_in_same_parent_node/
is_root: false
---

## position_in_same_parent_node property


Specifying the position index in the PivotItems under the same parent node.
### Definition:
```python
@property
def position_in_same_parent_node(self):
...
@position_in_same_parent_node.setter
def position_in_same_parent_node(self, value):
...
```

### See Also
* module [`aspose.cells.pivot`](../../)
* class [`PivotItem`](/cells/python-net/aspose.cells.pivot/pivotitem)
2 changes: 1 addition & 1 deletion english/aspose.cells.pivot/pivotitem/value/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: value property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 120
weight: 140
url: /aspose.cells.pivot/pivotitem/value/
is_root: false
---
Expand Down
2 changes: 2 additions & 0 deletions english/aspose.cells.saving/ebooksaveoptions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ The EbookSaveOptions type exposes the following members:
| [attached_files_directory](/cells/python-net/aspose.cells.saving/ebooksaveoptions/attached_files_directory) | The directory that the attached files will be saved to.<br/>Only for saving to html stream. |
| [attached_files_url_prefix](/cells/python-net/aspose.cells.saving/ebooksaveoptions/attached_files_url_prefix) | Specify the Url prefix of attached files such as image in the html file.<br/>Only for saving to html stream. |
| [default_font_name](/cells/python-net/aspose.cells.saving/ebooksaveoptions/default_font_name) | Specify the default font name for exporting html, the default font will be used when the font of style is not existing,<br/>If this property is null, Aspose.Cells will use universal font which have the same family with the original font,<br/>the default value is null. |
| [add_generic_font](/cells/python-net/aspose.cells.saving/ebooksaveoptions/add_generic_font) | Indicates whether to add a generic font to CSS font-family.<br/>The default value is true |
| [worksheet_scalable](/cells/python-net/aspose.cells.saving/ebooksaveoptions/worksheet_scalable) | Indicates if zooming in or out the html via worksheet zoom level when saving file to html, the default value is false. |
| [is_export_comments](/cells/python-net/aspose.cells.saving/ebooksaveoptions/is_export_comments) | Indicates if exporting comments when saving file to html, the default value is false. |
| [export_comments_type](/cells/python-net/aspose.cells.saving/ebooksaveoptions/export_comments_type) | Represents type of exporting comments to html files. |
Expand Down Expand Up @@ -103,6 +104,7 @@ The EbookSaveOptions type exposes the following members:
| [is_mobile_compatible](/cells/python-net/aspose.cells.saving/ebooksaveoptions/is_mobile_compatible) | Indicates whether the output HTML is compatible with mobile devices. <br/>The default value is false. |
| [css_styles](/cells/python-net/aspose.cells.saving/ebooksaveoptions/css_styles) | Gets or sets the additional css styles for the formatter.<br/>Only works when [`HtmlSaveOptions.save_as_single_file`](/cells/python-net/aspose.cells/htmlsaveoptions#save_as_single_file) is True.<br/><br/>CssStyles="body { padding: 5px }"; |
| [hide_overflow_wrapped_text](/cells/python-net/aspose.cells.saving/ebooksaveoptions/hide_overflow_wrapped_text) | Indicates whether to hide overflow text when the cell format is set to wrap text.<br/>The default value is false |
| [is_border_collapsed](/cells/python-net/aspose.cells.saving/ebooksaveoptions/is_border_collapsed) | Indicates whether the table borders are collapsed.<br/>The default value is true. |



Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: add_generic_font property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
url: /aspose.cells.saving/ebooksaveoptions/add_generic_font/
is_root: false
---

## add_generic_font property


Indicates whether to add a generic font to CSS font-family.
The default value is true
### Definition:
```python
@property
def add_generic_font(self):
...
@add_generic_font.setter
def add_generic_font(self, value):
...
```

### See Also
* module [`aspose.cells.saving`](../../)
* class [`EbookSaveOptions`](/cells/python-net/aspose.cells.saving/ebooksaveoptions)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: add_tooltip_text property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 30
weight: 40
url: /aspose.cells.saving/ebooksaveoptions/add_tooltip_text/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: attached_files_directory property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 40
weight: 50
url: /aspose.cells.saving/ebooksaveoptions/attached_files_directory/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: attached_files_url_prefix property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 50
weight: 60
url: /aspose.cells.saving/ebooksaveoptions/attached_files_url_prefix/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: cached_file_folder property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 60
weight: 70
url: /aspose.cells.saving/ebooksaveoptions/cached_file_folder/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: calculate_formula property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 70
weight: 80
url: /aspose.cells.saving/ebooksaveoptions/calculate_formula/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: cell_css_prefix property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 80
weight: 90
url: /aspose.cells.saving/ebooksaveoptions/cell_css_prefix/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: clear_data property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 90
weight: 100
url: /aspose.cells.saving/ebooksaveoptions/clear_data/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: create_directory property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 100
weight: 110
url: /aspose.cells.saving/ebooksaveoptions/create_directory/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: css_styles property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 110
weight: 120
url: /aspose.cells.saving/ebooksaveoptions/css_styles/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: default_font_name property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 120
weight: 130
url: /aspose.cells.saving/ebooksaveoptions/default_font_name/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: disable_downlevel_revealed_comments property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 130
weight: 140
url: /aspose.cells.saving/ebooksaveoptions/disable_downlevel_revealed_comments/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: encoding property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 140
weight: 150
url: /aspose.cells.saving/ebooksaveoptions/encoding/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: exclude_unused_styles property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 150
weight: 160
url: /aspose.cells.saving/ebooksaveoptions/exclude_unused_styles/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: export_active_worksheet_only property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 160
weight: 170
url: /aspose.cells.saving/ebooksaveoptions/export_active_worksheet_only/
is_root: false
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: export_area property
second_title: Aspose.Cells for Python via .NET API References
description:
type: docs
weight: 170
weight: 180
url: /aspose.cells.saving/ebooksaveoptions/export_area/
is_root: false
---
Expand Down
Loading