spire-xls 15.5.0__py3-none-win_amd64.whl → 15.7.1__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spire/xls/AddtionalFormatWrapper.py +98 -117
- spire/xls/Average.py +18 -4
- spire/xls/CellBaseStyle.py +13 -6
- spire/xls/CellBorder.py +25 -20
- spire/xls/CellRange.py +305 -269
- spire/xls/CellStyle.py +26 -12
- spire/xls/CellStyleFlag.py +181 -58
- spire/xls/CellStyleObject.py +36 -67
- spire/xls/CellValueChangedEventArgs.py +3 -9
- spire/xls/ColorScale.py +31 -39
- spire/xls/CommentsRange.py +185 -84
- spire/xls/CommonWrapper.py +23 -8
- spire/xls/ConverterSetting.py +19 -36
- spire/xls/DBConnection.py +41 -8
- spire/xls/DVAspect.py +8 -2
- spire/xls/DataBar.py +29 -28
- spire/xls/DocumentProperty.py +86 -38
- spire/xls/Excel2016Charttype.py +14 -2
- spire/xls/ExcelComment.py +1 -2
- spire/xls/ExcelCommentObject.py +206 -121
- spire/xls/ExcelFont.py +74 -59
- spire/xls/ExcelGradient.py +68 -24
- spire/xls/ExcelInterior.py +49 -20
- spire/xls/ExportTableOptions.py +33 -10
- spire/xls/ExternalConnection.py +85 -20
- spire/xls/ExternalLink.py +26 -10
- spire/xls/FileFormat.py +32 -4
- spire/xls/Font.py +95 -42
- spire/xls/FontArrayWrapper.py +135 -36
- spire/xls/FontWrapper.py +194 -92
- spire/xls/Format3D.py +130 -30
- spire/xls/GeomertyAdjustValue.py +22 -10
- spire/xls/GetText.py +8 -2
- spire/xls/GoalSeek.py +44 -14
- spire/xls/GoalSeekResult.py +36 -3
- spire/xls/GradientArrayWrapper.py +92 -28
- spire/xls/GradientStops.py +74 -24
- spire/xls/GradientType.py +10 -2
- spire/xls/GroupShape.py +1 -2
- spire/xls/HPageBreak.py +1 -2
- spire/xls/HTMLOptions.py +7 -19
- spire/xls/HyperLink.py +1 -2
- spire/xls/LOGFONT.py +78 -30
- spire/xls/OColor.py +62 -29
- spire/xls/OdsPageBackground.py +5 -10
- spire/xls/PageColRow.py +21 -10
- spire/xls/PageSetup.py +2 -3
- spire/xls/PaperSizeEntry.py +6 -0
- spire/xls/PicStretch.py +47 -14
- spire/xls/PicTile.py +35 -10
- spire/xls/QueryTableXls.py +19 -6
- spire/xls/RTFCommentArray.py +59 -22
- spire/xls/RTFStringArray.py +59 -22
- spire/xls/RangeRichTextString.py +20 -8
- spire/xls/ReferRangeArea.py +39 -16
- spire/xls/RichText.py +10 -8
- spire/xls/RichTextObject.py +63 -32
- spire/xls/RichTextShape.py +88 -32
- spire/xls/RichTextString.py +61 -24
- spire/xls/RtfTextWriter.py +68 -22
- spire/xls/SaveShapeTypeOption.py +19 -37
- spire/xls/ShapeGlow.py +34 -14
- spire/xls/ShapeReflection.py +55 -18
- spire/xls/StyleArrayWrapper.py +169 -78
- spire/xls/TextBoxShapeBase.py +63 -30
- spire/xls/TextSaveOptions.py +33 -18
- spire/xls/TopBottom.py +18 -6
- spire/xls/VPageBreak.py +3 -5
- spire/xls/Validation.py +12 -6
- spire/xls/WebQueryConnection.py +52 -20
- spire/xls/Workbook.py +810 -841
- spire/xls/Worksheet.py +444 -409
- spire/xls/WriteProtection.py +3 -6
- spire/xls/XlsAddInFunction.py +34 -20
- spire/xls/XlsArcShape.py +156 -40
- spire/xls/XlsBitmapShape.py +141 -43
- spire/xls/XlsBorder.py +72 -31
- spire/xls/XlsBorderArrayWrapper.py +50 -14
- spire/xls/XlsButtonShape.py +58 -16
- spire/xls/XlsCheckBoxShape.py +72 -18
- spire/xls/XlsComboBoxShape.py +53 -16
- spire/xls/XlsComment.py +108 -30
- spire/xls/XlsDataValidationTable.py +43 -16
- spire/xls/XlsDocumentProperty.py +163 -44
- spire/xls/XlsEventArgs.py +33 -24
- spire/xls/XlsEventHandler.py +10 -4
- spire/xls/XlsFill.py +64 -20
- spire/xls/XlsFont.py +182 -52
- spire/xls/XlsGradient.py +90 -26
- spire/xls/XlsGradientStop.py +57 -12
- spire/xls/XlsGroupBoxShape.py +36 -10
- spire/xls/XlsHPageBreak.py +47 -24
- spire/xls/XlsHyperLink.py +111 -42
- spire/xls/XlsLabelShape.py +27 -8
- spire/xls/XlsLineShape.py +188 -48
- spire/xls/XlsListBoxShape.py +63 -14
- spire/xls/XlsName.py +767 -318
- spire/xls/XlsObject.py +2 -4
- spire/xls/XlsOvalShape.py +78 -20
- spire/xls/XlsPageSetup.py +67 -34
- spire/xls/XlsPageSetupBase.py +29 -58
- spire/xls/XlsPrstGeomShape.py +29 -10
- spire/xls/XlsRadioButtonShape.py +94 -22
- spire/xls/XlsRange.py +881 -1077
- spire/xls/XlsRectangleShape.py +69 -22
- spire/xls/XlsScrollBarShape.py +78 -18
- spire/xls/XlsShape.py +391 -180
- spire/xls/XlsShapeFill.py +398 -92
- spire/xls/XlsShapeLineFormat.py +201 -44
- spire/xls/XlsSpinnerShape.py +57 -14
- spire/xls/XlsStyle.py +51 -20
- spire/xls/XlsTextBoxShape.py +263 -60
- spire/xls/XlsVPageBreak.py +9 -14
- spire/xls/XlsValidation.py +318 -68
- spire/xls/XlsValidationWrapper.py +217 -49
- spire/xls/XlsWorkbook.py +529 -65
- spire/xls/XlsWorksheet.py +1211 -1128
- spire/xls/XlsWorksheetBase.py +243 -168
- spire/xls/__init__.py +529 -528
- spire/xls/autofilter/AutoFitterOptions.py +84 -0
- spire/xls/autofilter/ColorFilter.py +61 -0
- spire/xls/autofilter/CustomFilter.py +199 -0
- spire/xls/autofilter/CustomFilterCollection.py +146 -0
- spire/xls/autofilter/DateTimeGroupItem.py +196 -0
- spire/xls/autofilter/DynamicFilter.py +89 -0
- spire/xls/autofilter/FilterColumn.py +289 -0
- spire/xls/autofilter/MultipleFilterCollection.py +218 -0
- spire/xls/autofilter/Top10Filter.py +109 -0
- spire/xls/autofilter/XlsAutoFiltersCollection.py +145 -0
- spire/xls/charts/Chart.py +369 -0
- spire/xls/charts/ChartArea.py +57 -0
- spire/xls/charts/ChartBackgroundMode.py +17 -0
- spire/xls/charts/ChartCategoryAxis.py +88 -0
- spire/xls/charts/ChartDataLabels.py +40 -0
- spire/xls/charts/ChartDataPoint.py +40 -0
- spire/xls/charts/ChartFormat.py +68 -0
- spire/xls/charts/ChartGridLine.py +26 -0
- spire/xls/charts/ChartLegend.py +40 -0
- spire/xls/charts/ChartLegendEntriesColl.py +165 -0
- spire/xls/charts/ChartLegendEntry.py +26 -0
- spire/xls/charts/ChartPlotArea.py +60 -0
- spire/xls/charts/ChartSerie.py +147 -0
- spire/xls/charts/ChartSerieDataFormat.py +54 -0
- spire/xls/charts/ChartSeriesAxis.py +68 -0
- spire/xls/charts/ChartShadow.py +288 -0
- spire/xls/charts/ChartSheet.py +269 -0
- spire/xls/charts/ChartTextArea.py +898 -0
- spire/xls/charts/ChartValueAxis.py +90 -0
- spire/xls/charts/HistogramAxisFormat.py +32 -0
- spire/xls/charts/XlsChart.py +1667 -0
- spire/xls/charts/XlsChartAxis.py +596 -0
- spire/xls/charts/XlsChartBorder.py +180 -0
- spire/xls/charts/XlsChartCategoryAxis.py +640 -0
- spire/xls/charts/XlsChartDataLabelArea.py +368 -0
- spire/xls/charts/XlsChartDataLabels.py +702 -0
- spire/xls/charts/XlsChartDataPoint.py +105 -0
- spire/xls/charts/XlsChartDataTable.py +373 -0
- spire/xls/charts/XlsChartDropBar.py +295 -0
- spire/xls/charts/XlsChartFill.py +659 -0
- spire/xls/charts/XlsChartFormat.py +1229 -0
- spire/xls/charts/XlsChartFrameFormat.py +612 -0
- spire/xls/charts/XlsChartGridLine.py +167 -0
- spire/xls/charts/XlsChartInterior.py +229 -0
- spire/xls/charts/XlsChartLegend.py +334 -0
- spire/xls/charts/XlsChartLegendArea.py +418 -0
- spire/xls/charts/XlsChartLegendEntry.py +152 -0
- spire/xls/charts/XlsChartSerie.py +607 -0
- spire/xls/charts/XlsChartSerieDataFormat.py +1070 -0
- spire/xls/charts/XlsChartSeriesAxis.py +306 -0
- spire/xls/charts/XlsChartShape.py +1256 -0
- spire/xls/charts/XlsChartTitleArea.py +399 -0
- spire/xls/charts/XlsChartValueAxis.py +344 -0
- spire/xls/charts/XlsChartWallOrFloor.py +349 -0
- spire/xls/charts/__init__.py +0 -0
- spire/xls/collection/AddInFunctionsCollection.py +31 -0
- spire/xls/collection/ArcShapeCollection.py +94 -0
- spire/xls/collection/AutoFiltersCollection.py +538 -0
- spire/xls/collection/BordersCollection.py +196 -0
- spire/xls/collection/BordersCollectionArrayWrapper.py +129 -0
- spire/xls/collection/BuiltInDocumentProperties.py +12 -0
- spire/xls/collection/ChartDataPointsCollection.py +72 -0
- spire/xls/collection/ChartFormatCollection.py +58 -0
- spire/xls/collection/ChartSeries.py +187 -0
- spire/xls/collection/ChartsCollection.py +119 -0
- spire/xls/collection/CollectionBase.py +201 -0
- spire/xls/collection/CollectionExtended.py +96 -0
- spire/xls/collection/ComboBoxCollection.py +89 -0
- spire/xls/collection/CommentsCollection.py +134 -0
- spire/xls/collection/GroupShapeCollection.py +45 -0
- spire/xls/collection/HPageBreaksCollection.py +116 -0
- spire/xls/collection/HyperLinksCollection.py +72 -0
- spire/xls/collection/ListObjectCollection.py +48 -0
- spire/xls/collection/OvalShapeCollection.py +89 -0
- spire/xls/collection/PicturesCollection.py +574 -0
- spire/xls/collection/PrstGeomShapeCollection.py +128 -0
- spire/xls/collection/RadioButtonCollection.py +139 -0
- spire/xls/collection/RangesCollection.py +555 -0
- spire/xls/collection/StylesCollection.py +140 -0
- spire/xls/collection/VPageBreaksCollection.py +95 -0
- spire/xls/collection/WorksheetsCollection.py +363 -0
- spire/xls/collection/XlsAddInFunctionsCollection.py +108 -0
- spire/xls/collection/XlsBordersCollection.py +98 -0
- spire/xls/collection/XlsBuiltInDocumentProperties.py +611 -0
- spire/xls/collection/XlsChartDataPointsCollection.py +119 -0
- spire/xls/collection/XlsChartFormatCollection.py +160 -0
- spire/xls/collection/XlsCommentsCollection.py +116 -0
- spire/xls/collection/XlsDataValidationCollection.py +155 -0
- spire/xls/collection/XlsHPageBreaksCollection.py +87 -0
- spire/xls/collection/XlsHyperLinksCollection.py +104 -0
- spire/xls/collection/XlsRangesCollection.py +1634 -0
- spire/xls/collection/XlsStylesCollection.py +74 -0
- spire/xls/collection/XlsVPageBreaksCollection.py +81 -0
- spire/xls/collection/XlsWorksheetsCollection.py +423 -0
- spire/xls/collection/__init__.py +0 -0
- spire/xls/collection/pivot_table/PivotConditionalFormatCollection.py +38 -0
- spire/xls/collection/pivot_table/PivotTableFields.py +108 -0
- spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +123 -0
- spire/xls/collection/pivot_table/__init__.py +0 -0
- spire/xls/conditional_formatting/ColorConditionValue.py +102 -0
- spire/xls/conditional_formatting/CondFormatCollectionWrapper.py +153 -0
- spire/xls/conditional_formatting/ConditionValue.py +83 -0
- spire/xls/conditional_formatting/ConditionValuePosition.py +16 -0
- spire/xls/conditional_formatting/ConditionalFormat.py +13 -0
- spire/xls/conditional_formatting/ConditionalFormatScope.py +16 -0
- spire/xls/conditional_formatting/ConditionalFormatWrapper.py +1271 -0
- spire/xls/conditional_formatting/ConditionalFormats.py +65 -0
- spire/xls/conditional_formatting/DataBarBorder.py +51 -0
- spire/xls/conditional_formatting/NegativeBarFormat.py +90 -0
- spire/xls/conditional_formatting/XlsConditionValue.py +134 -0
- spire/xls/conditional_formatting/XlsConditionalFormat.py +1155 -0
- spire/xls/conditional_formatting/XlsConditionalFormats.py +679 -0
- spire/xls/conditional_formatting/__init__.py +0 -0
- spire/xls/enums/AlertStyleType.py +17 -0
- spire/xls/enums/AutoFormatOptions.py +22 -0
- spire/xls/enums/AutoFormatType.py +31 -0
- spire/xls/enums/AverageType.py +24 -0
- spire/xls/enums/AxisLineIdentifierType.py +18 -0
- spire/xls/enums/AxisTextDirectionType.py +17 -0
- spire/xls/enums/AxisType.py +17 -0
- spire/xls/enums/BaseFormatType.py +16 -0
- spire/xls/enums/BordersLineType.py +22 -0
- spire/xls/enums/BubbleSizeType.py +16 -0
- spire/xls/enums/BuiltInPropertyType.py +49 -0
- spire/xls/enums/BuiltInStyles.py +65 -0
- spire/xls/enums/CategoryType.py +17 -0
- spire/xls/enums/CellDataType.py +22 -0
- spire/xls/enums/CellFormatType.py +20 -0
- spire/xls/enums/ChartBaseUnitType.py +17 -0
- spire/xls/enums/ChartDisplayUnitType.py +25 -0
- spire/xls/enums/ChartLinePatternType.py +23 -0
- spire/xls/enums/ChartLineWeightType.py +18 -0
- spire/xls/enums/ChartMarkerType.py +26 -0
- spire/xls/enums/ChartParagraphType.py +17 -0
- spire/xls/enums/ChartPieType.py +17 -0
- spire/xls/enums/ChartPlotEmptyType.py +17 -0
- spire/xls/enums/CheckState.py +17 -0
- spire/xls/enums/ColorType.py +17 -0
- spire/xls/enums/CommentHAlignType.py +20 -0
- spire/xls/enums/CommentVAlignType.py +19 -0
- spire/xls/enums/ComparisonOperatorType.py +23 -0
- spire/xls/enums/ConditionalFormatType.py +32 -0
- spire/xls/enums/DataLabelPositionType.py +25 -0
- spire/xls/enums/DataSourceType.py +18 -0
- spire/xls/enums/DropLineStyleType.py +17 -0
- spire/xls/enums/ErrorBarIncludeType.py +18 -0
- spire/xls/enums/ErrorBarType.py +19 -0
- spire/xls/enums/ExcelCalculationMode.py +17 -0
- spire/xls/enums/ExcelChartType.py +95 -0
- spire/xls/enums/ExcelColors.py +120 -0
- spire/xls/enums/ExcelComboType.py +21 -0
- spire/xls/enums/ExcelHorizontalAlignment.py +20 -0
- spire/xls/enums/ExcelPatternType.py +51 -0
- spire/xls/enums/ExcelQuartileCalculation.py +16 -0
- spire/xls/enums/ExcelShapeType.py +40 -0
- spire/xls/enums/ExcelSheetType.py +19 -0
- spire/xls/enums/ExcelTreeMapLabelOption.py +17 -0
- spire/xls/enums/ExcelVersion.py +23 -0
- spire/xls/enums/ExcelVerticalAlignment.py +20 -0
- spire/xls/enums/ExpandCollapseFlags.py +17 -0
- spire/xls/enums/FilterConditionType.py +20 -0
- spire/xls/enums/FilterDataType.py +21 -0
- spire/xls/enums/FontUnderlineType.py +19 -0
- spire/xls/enums/FontVertialAlignmentType.py +17 -0
- spire/xls/enums/GradientColorType.py +17 -0
- spire/xls/enums/GradientPatternType.py +63 -0
- spire/xls/enums/GradientPresetType.py +38 -0
- spire/xls/enums/GradientStyleType.py +20 -0
- spire/xls/enums/GradientTextureType.py +39 -0
- spire/xls/enums/GradientVariantsType.py +18 -0
- spire/xls/enums/HorizontalAlignType.py +22 -0
- spire/xls/enums/HyperLinkType.py +19 -0
- spire/xls/enums/IgnoreErrorType.py +23 -0
- spire/xls/enums/ImageFormatType.py +17 -0
- spire/xls/enums/ImageType.py +16 -0
- spire/xls/enums/LegendPositionType.py +20 -0
- spire/xls/enums/LegendSpacingType.py +17 -0
- spire/xls/enums/LineStyleType.py +28 -0
- spire/xls/enums/OleObjectType.py +50 -0
- spire/xls/enums/OrderBy.py +18 -0
- spire/xls/enums/OrderType.py +16 -0
- spire/xls/enums/PageBreakExtentType.py +16 -0
- spire/xls/enums/PageBreakType.py +17 -0
- spire/xls/enums/PageOrientationType.py +16 -0
- spire/xls/enums/PagesOrderType.py +16 -0
- spire/xls/enums/PaperSizeType.py +134 -0
- spire/xls/enums/PivotGroupByTypes.py +22 -0
- spire/xls/enums/PrintCommentType.py +17 -0
- spire/xls/enums/PrintErrorsType.py +18 -0
- spire/xls/enums/ReadingOrderType.py +17 -0
- spire/xls/enums/RectangleStyleType.py +16 -0
- spire/xls/enums/ResizeBehaveType.py +17 -0
- spire/xls/enums/ShapeArrowLengthType.py +17 -0
- spire/xls/enums/ShapeArrowStyleType.py +20 -0
- spire/xls/enums/ShapeArrowWidthType.py +17 -0
- spire/xls/enums/ShapeDashLineStyleType.py +22 -0
- spire/xls/enums/ShapeFillType.py +21 -0
- spire/xls/enums/ShapeLayerChangeType.py +18 -0
- spire/xls/enums/ShapeLineStyleType.py +19 -0
- spire/xls/enums/SheetProtectionType.py +32 -0
- spire/xls/enums/SortComparsionType.py +18 -0
- spire/xls/enums/SortOrientationType.py +16 -0
- spire/xls/enums/SortedWayType.py +17 -0
- spire/xls/enums/SparklineType.py +17 -0
- spire/xls/enums/SplitType.py +18 -0
- spire/xls/enums/TextDirection.py +19 -0
- spire/xls/enums/TextRotationType.py +18 -0
- spire/xls/enums/ThemeColorType.py +26 -0
- spire/xls/enums/TickLabelPositionType.py +18 -0
- spire/xls/enums/TickMarkType.py +18 -0
- spire/xls/enums/TopBottomType.py +18 -0
- spire/xls/enums/TopFormatType.py +17 -0
- spire/xls/enums/TrendLineType.py +20 -0
- spire/xls/enums/UnknownVariableAction.py +17 -0
- spire/xls/enums/ValidationComparisonOperator.py +22 -0
- spire/xls/enums/VariableTypeAction.py +17 -0
- spire/xls/enums/VerticalAlignType.py +19 -0
- spire/xls/enums/ViewMode.py +17 -0
- spire/xls/enums/WorksheetVisibility.py +17 -0
- spire/xls/enums/XLSXBorderJoinType.py +18 -0
- spire/xls/enums/XLSXChartMaterialType.py +31 -0
- spire/xls/enums/XLSXChartPrespectiveType.py +20 -0
- spire/xls/enums/XLSXChartShadowInnerType.py +24 -0
- spire/xls/enums/XLSXChartShadowOuterType.py +24 -0
- spire/xls/enums/__init__.py +1 -0
- spire/xls/interfaces/IArcShape.py +285 -0
- spire/xls/interfaces/IChart.py +1597 -0
- spire/xls/interfaces/IChartAxis.py +786 -0
- spire/xls/interfaces/IChartBorder.py +203 -0
- spire/xls/interfaces/IChartCategoryAxis.py +522 -0
- spire/xls/interfaces/IChartDataLabels.py +419 -0
- spire/xls/interfaces/IChartDataPoint.py +114 -0
- spire/xls/interfaces/IChartDataTable.py +184 -0
- spire/xls/interfaces/IChartErrorBars.py +340 -0
- spire/xls/interfaces/IChartFillBorder.py +268 -0
- spire/xls/interfaces/IChartFormat.py +521 -0
- spire/xls/interfaces/IChartFrameFormat.py +85 -0
- spire/xls/interfaces/IChartGridLine.py +100 -0
- spire/xls/interfaces/IChartInterior.py +259 -0
- spire/xls/interfaces/IChartLegend.py +453 -0
- spire/xls/interfaces/IChartLegendEntry.py +167 -0
- spire/xls/interfaces/IChartPageSetup.py +51 -0
- spire/xls/interfaces/IChartSerie.py +727 -0
- spire/xls/interfaces/IChartSerieDataFormat.py +519 -0
- spire/xls/interfaces/IChartSeriesAxis.py +118 -0
- spire/xls/interfaces/IChartShape.py +88 -0
- spire/xls/interfaces/IChartTextArea.py +181 -0
- spire/xls/interfaces/IChartTrendLine.py +502 -0
- spire/xls/interfaces/IChartValueAxis.py +586 -0
- spire/xls/interfaces/IChartWallOrFloor.py +40 -0
- spire/xls/interfaces/ICheckBox.py +120 -0
- spire/xls/interfaces/ICloneParent.py +29 -0
- spire/xls/interfaces/IColorConditionValue.py +44 -0
- spire/xls/interfaces/IColorScale.py +39 -0
- spire/xls/interfaces/ICombinedRange.py +109 -0
- spire/xls/interfaces/IComboBoxShape.py +120 -0
- spire/xls/interfaces/IComment.py +110 -0
- spire/xls/interfaces/ICommentShape.py +20 -0
- spire/xls/interfaces/IConditionValue.py +83 -0
- spire/xls/interfaces/IConditionalFormat.py +757 -0
- spire/xls/interfaces/IConditionalFormats.py +66 -0
- spire/xls/interfaces/ICustomDocumentProperties.py +168 -0
- spire/xls/interfaces/IDataBar.py +127 -0
- spire/xls/interfaces/IDataValidation.py +506 -0
- spire/xls/interfaces/IDataValidationTable.py +84 -0
- spire/xls/interfaces/IDigitalSignature.py +111 -0
- spire/xls/interfaces/IDigitalSignatures.py +33 -0
- spire/xls/interfaces/IDocumentProperty.py +276 -0
- spire/xls/interfaces/IErrorIndicator.py +38 -0
- spire/xls/interfaces/IExtendIndex.py +26 -0
- spire/xls/interfaces/IExtendedFormat.py +631 -0
- spire/xls/interfaces/IFont.py +313 -0
- spire/xls/interfaces/IFormat3D.py +307 -0
- spire/xls/interfaces/IGeomPath.py +27 -0
- spire/xls/interfaces/IGeomPathInfo.py +141 -0
- spire/xls/interfaces/IGeomPathShape.py +40 -0
- spire/xls/interfaces/IGlow.py +104 -0
- spire/xls/interfaces/IGradient.py +203 -0
- spire/xls/interfaces/IGroupBox.py +82 -0
- spire/xls/interfaces/IHPageBreak.py +26 -0
- spire/xls/interfaces/IHyperLink.py +137 -0
- spire/xls/interfaces/IIconSet.py +115 -0
- spire/xls/interfaces/IInterior.py +137 -0
- spire/xls/interfaces/IInternalAddtionalFormat.py +277 -0
- spire/xls/interfaces/IInternalFont.py +38 -0
- spire/xls/interfaces/ILabelShape.py +60 -0
- spire/xls/interfaces/ILineShape.py +334 -0
- spire/xls/interfaces/IListObject.py +443 -0
- spire/xls/interfaces/IListObjectColumn.py +196 -0
- spire/xls/interfaces/IMarkersDesigner.py +133 -0
- spire/xls/interfaces/IMigrantRange.py +28 -0
- spire/xls/interfaces/INamedObject.py +27 -0
- spire/xls/interfaces/INamedRange.py +246 -0
- spire/xls/interfaces/INumberFormat.py +90 -0
- spire/xls/interfaces/IOleObject.py +225 -0
- spire/xls/interfaces/IOptimizedUpdate.py +35 -0
- spire/xls/interfaces/IOvalShape.py +201 -0
- spire/xls/interfaces/IPageSetup.py +260 -0
- spire/xls/interfaces/IPageSetupBase.py +849 -0
- spire/xls/interfaces/IPictureShape.py +118 -0
- spire/xls/interfaces/IPropertyData.py +100 -0
- spire/xls/interfaces/IPrstGeomShape.py +103 -0
- spire/xls/interfaces/IRadioButton.py +159 -0
- spire/xls/interfaces/IRectangleShape.py +90 -0
- spire/xls/interfaces/IReflectionEffect.py +217 -0
- spire/xls/interfaces/IScrollBarShape.py +139 -0
- spire/xls/interfaces/IShadow.py +385 -0
- spire/xls/interfaces/IShape.py +620 -0
- spire/xls/interfaces/IShapeFill.py +767 -0
- spire/xls/interfaces/IShapeLineFormat.py +488 -0
- spire/xls/interfaces/ISortColumn.py +138 -0
- spire/xls/interfaces/ISortColumns.py +106 -0
- spire/xls/interfaces/ISortedRule.py +154 -0
- spire/xls/interfaces/ISpinnerShape.py +124 -0
- spire/xls/interfaces/IStyle.py +60 -0
- spire/xls/interfaces/ITabSheet.py +364 -0
- spire/xls/interfaces/ITextBox.py +140 -0
- spire/xls/interfaces/ITextBoxLinkShape.py +48 -0
- spire/xls/interfaces/ITextBoxShape.py +27 -0
- spire/xls/interfaces/ITextFrame.py +146 -0
- spire/xls/interfaces/IVPageBreak.py +26 -0
- spire/xls/interfaces/IWorkbook.py +1736 -0
- spire/xls/interfaces/IWorksheet.py +2638 -0
- spire/xls/interfaces/IXLSRange.py +2241 -0
- spire/xls/interfaces/IXLSRanges.py +40 -0
- spire/xls/interfaces/IconSet.py +125 -0
- spire/xls/interfaces/ImageLocationTypes.py +17 -0
- spire/xls/interfaces/ImportObjectOptions.py +136 -0
- spire/xls/interfaces/InsertMoveOption.py +17 -0
- spire/xls/interfaces/InteriorArrayWrapper.py +181 -0
- spire/xls/interfaces/__init__.py +0 -0
- spire/xls/interfaces/collections/IDataValidationCollection.py +128 -0
- spire/xls/interfaces/collections/IHPageBreaks.py +37 -0
- spire/xls/interfaces/collections/IListObjects.py +34 -0
- spire/xls/interfaces/collections/IOleObjects.py +44 -0
- spire/xls/interfaces/collections/IPrstGeomShapes.py +87 -0
- spire/xls/interfaces/collections/IShapes.py +273 -0
- spire/xls/interfaces/collections/ITextBoxes.py +67 -0
- spire/xls/interfaces/collections/IVPageBreaks.py +37 -0
- spire/xls/interfaces/collections/__init__.py +0 -0
- spire/xls/interfaces/pivot_table/IPivotCache.py +50 -0
- spire/xls/interfaces/pivot_table/IPivotCaches.py +52 -0
- spire/xls/interfaces/pivot_table/IPivotCalculatedFields.py +69 -0
- spire/xls/interfaces/pivot_table/IPivotField.py +372 -0
- spire/xls/interfaces/pivot_table/IPivotTable.py +509 -0
- spire/xls/interfaces/pivot_table/IPivotTableOptions.py +507 -0
- spire/xls/interfaces/pivot_table/__init__.py +0 -0
- spire/xls/interfaces/sorting/__init__.py +0 -0
- spire/xls/lib/Spire.Xls.Base.dll +0 -0
- spire/xls/lib/_init_.py +0 -0
- spire/xls/license/LicenseProvider.py +107 -0
- spire/xls/license/__init__.py +0 -0
- spire/xls/pivot_tables/AutoSortScope.py +29 -0
- spire/xls/pivot_tables/PivotConditionalFormat.py +71 -0
- spire/xls/pivot_tables/PivotDataField.py +163 -0
- spire/xls/pivot_tables/PivotItem.py +228 -0
- spire/xls/pivot_tables/PivotReportFilter.py +199 -0
- spire/xls/pivot_tables/PivotReportFilters.py +95 -0
- spire/xls/pivot_tables/PivotStyle.py +104 -0
- spire/xls/pivot_tables/PivotTableStyle.py +76 -0
- spire/xls/pivot_tables/XlsPivotCache.py +506 -0
- spire/xls/pivot_tables/XlsPivotCacheField.py +276 -0
- spire/xls/pivot_tables/XlsPivotField.py +975 -0
- spire/xls/pivot_tables/XlsPivotTable.py +1189 -0
- spire/xls/pivot_tables/__init__.py +0 -0
- spire/xls/security/__init__.py +0 -0
- spire/xls/sorting/DataSorter.py +152 -0
- spire/xls/sorting/SortColumn.py +115 -0
- spire/xls/sorting/SortColumns.py +194 -0
- spire/xls/sorting/__init__.py +0 -0
- spire/xls/sparkline/ISparklines.py +72 -0
- spire/xls/sparkline/Sparkline.py +89 -0
- spire/xls/sparkline/SparklineCollection.py +107 -0
- spire/xls/sparkline/SparklineGroup.py +592 -0
- spire/xls/sparkline/SparklineGroupCollection.py +67 -0
- spire/xls/sparkline/__init__.py +0 -0
- spire/xls/template_markers/MarkerDesigner.py +171 -0
- spire/xls/template_markers/__init__.py +0 -0
- spire_xls-15.7.1.dist-info/METADATA +197 -0
- spire_xls-15.7.1.dist-info/RECORD +720 -0
- spire/xls/AddInFunctionsCollection.py +0 -29
- spire/xls/AlertStyleType.py +0 -18
- spire/xls/ArcShapeCollection.py +0 -70
- spire/xls/AutoFiltersCollection.py +0 -527
- spire/xls/AutoFitterOptions.py +0 -66
- spire/xls/AutoFormatOptions.py +0 -23
- spire/xls/AutoFormatType.py +0 -32
- spire/xls/AutoSortScope.py +0 -25
- spire/xls/AverageType.py +0 -25
- spire/xls/AxisLineIdentifierType.py +0 -19
- spire/xls/AxisTextDirectionType.py +0 -18
- spire/xls/AxisType.py +0 -18
- spire/xls/BaseFormatType.py +0 -17
- spire/xls/BordersCollection.py +0 -158
- spire/xls/BordersCollectionArrayWrapper.py +0 -95
- spire/xls/BordersLineType.py +0 -23
- spire/xls/BubbleSizeType.py +0 -17
- spire/xls/BuiltInDocumentProperties.py +0 -12
- spire/xls/BuiltInPropertyType.py +0 -50
- spire/xls/BuiltInStyles.py +0 -66
- spire/xls/CategoryType.py +0 -18
- spire/xls/CellDataType.py +0 -23
- spire/xls/CellFormatType.py +0 -21
- spire/xls/Chart.py +0 -404
- spire/xls/ChartArea.py +0 -61
- spire/xls/ChartBackgroundMode.py +0 -18
- spire/xls/ChartBaseUnitType.py +0 -18
- spire/xls/ChartCategoryAxis.py +0 -93
- spire/xls/ChartDataLabels.py +0 -42
- spire/xls/ChartDataPoint.py +0 -42
- spire/xls/ChartDataPointsCollection.py +0 -75
- spire/xls/ChartDisplayUnitType.py +0 -26
- spire/xls/ChartFormat.py +0 -72
- spire/xls/ChartFormatCollection.py +0 -59
- spire/xls/ChartGridLine.py +0 -27
- spire/xls/ChartLegend.py +0 -42
- spire/xls/ChartLegendEntriesColl.py +0 -128
- spire/xls/ChartLegendEntry.py +0 -27
- spire/xls/ChartLinePatternType.py +0 -24
- spire/xls/ChartLineWeightType.py +0 -19
- spire/xls/ChartMarkerType.py +0 -27
- spire/xls/ChartParagraphType.py +0 -18
- spire/xls/ChartPieType.py +0 -18
- spire/xls/ChartPlotArea.py +0 -53
- spire/xls/ChartPlotEmptyType.py +0 -18
- spire/xls/ChartSerie.py +0 -142
- spire/xls/ChartSerieDataFormat.py +0 -56
- spire/xls/ChartSeries.py +0 -154
- spire/xls/ChartSeriesAxis.py +0 -72
- spire/xls/ChartShadow.py +0 -235
- spire/xls/ChartSheet.py +0 -285
- spire/xls/ChartTextArea.py +0 -782
- spire/xls/ChartValueAxis.py +0 -92
- spire/xls/ChartsCollection.py +0 -113
- spire/xls/CheckState.py +0 -18
- spire/xls/CollectionBase.py +0 -184
- spire/xls/CollectionExtended.py +0 -92
- spire/xls/ColorConditionValue.py +0 -91
- spire/xls/ColorFilter.py +0 -45
- spire/xls/ColorType.py +0 -18
- spire/xls/ComboBoxCollection.py +0 -70
- spire/xls/CommentHAlignType.py +0 -21
- spire/xls/CommentVAlignType.py +0 -20
- spire/xls/CommentsCollection.py +0 -109
- spire/xls/ComparisonOperatorType.py +0 -24
- spire/xls/CondFormatCollectionWrapper.py +0 -125
- spire/xls/ConditionValue.py +0 -82
- spire/xls/ConditionValuePosition.py +0 -16
- spire/xls/ConditionalFormat.py +0 -14
- spire/xls/ConditionalFormatScope.py +0 -16
- spire/xls/ConditionalFormatType.py +0 -33
- spire/xls/ConditionalFormatWrapper.py +0 -986
- spire/xls/ConditionalFormats.py +0 -55
- spire/xls/CustomFilter.py +0 -147
- spire/xls/CustomFilterCollection.py +0 -113
- spire/xls/DataBarBorder.py +0 -47
- spire/xls/DataLabelPositionType.py +0 -26
- spire/xls/DataSorter.py +0 -154
- spire/xls/DataSourceType.py +0 -19
- spire/xls/DateTimeGroupItem.py +0 -132
- spire/xls/DropLineStyleType.py +0 -18
- spire/xls/DynamicFilter.py +0 -71
- spire/xls/ErrorBarIncludeType.py +0 -19
- spire/xls/ErrorBarType.py +0 -20
- spire/xls/ExcelCalculationMode.py +0 -18
- spire/xls/ExcelChartType.py +0 -96
- spire/xls/ExcelColors.py +0 -121
- spire/xls/ExcelComboType.py +0 -22
- spire/xls/ExcelHorizontalAlignment.py +0 -21
- spire/xls/ExcelPatternType.py +0 -52
- spire/xls/ExcelQuartileCalculation.py +0 -17
- spire/xls/ExcelShapeType.py +0 -41
- spire/xls/ExcelSheetType.py +0 -20
- spire/xls/ExcelTreeMapLabelOption.py +0 -18
- spire/xls/ExcelVersion.py +0 -24
- spire/xls/ExcelVerticalAlignment.py +0 -21
- spire/xls/ExpandCollapseFlags.py +0 -18
- spire/xls/FilterColumn.py +0 -258
- spire/xls/FilterConditionType.py +0 -21
- spire/xls/FilterDataType.py +0 -22
- spire/xls/FontUnderlineType.py +0 -20
- spire/xls/FontVertialAlignmentType.py +0 -20
- spire/xls/GradientColorType.py +0 -18
- spire/xls/GradientPatternType.py +0 -64
- spire/xls/GradientPresetType.py +0 -39
- spire/xls/GradientStyleType.py +0 -21
- spire/xls/GradientTextureType.py +0 -40
- spire/xls/GradientVariantsType.py +0 -19
- spire/xls/GroupShapeCollection.py +0 -46
- spire/xls/HPageBreaksCollection.py +0 -108
- spire/xls/HistogramAxisFormat.py +0 -30
- spire/xls/HorizontalAlignType.py +0 -23
- spire/xls/HyperLinkType.py +0 -20
- spire/xls/HyperLinksCollection.py +0 -72
- spire/xls/IArcShape.py +0 -259
- spire/xls/IChart.py +0 -1368
- spire/xls/IChartAxis.py +0 -722
- spire/xls/IChartBorder.py +0 -220
- spire/xls/IChartCategoryAxis.py +0 -410
- spire/xls/IChartDataLabels.py +0 -457
- spire/xls/IChartDataPoint.py +0 -131
- spire/xls/IChartDataTable.py +0 -197
- spire/xls/IChartErrorBars.py +0 -373
- spire/xls/IChartFillBorder.py +0 -303
- spire/xls/IChartFormat.py +0 -571
- spire/xls/IChartFrameFormat.py +0 -93
- spire/xls/IChartGridLine.py +0 -107
- spire/xls/IChartInterior.py +0 -278
- spire/xls/IChartLegend.py +0 -499
- spire/xls/IChartLegendEntry.py +0 -178
- spire/xls/IChartPageSetup.py +0 -56
- spire/xls/IChartSerie.py +0 -779
- spire/xls/IChartSerieDataFormat.py +0 -566
- spire/xls/IChartSeriesAxis.py +0 -128
- spire/xls/IChartShape.py +0 -92
- spire/xls/IChartTextArea.py +0 -197
- spire/xls/IChartTrendLine.py +0 -548
- spire/xls/IChartValueAxis.py +0 -518
- spire/xls/IChartWallOrFloor.py +0 -32
- spire/xls/ICheckBox.py +0 -96
- spire/xls/ICloneParent.py +0 -28
- spire/xls/IColorConditionValue.py +0 -31
- spire/xls/IColorScale.py +0 -32
- spire/xls/ICombinedRange.py +0 -87
- spire/xls/IComboBoxShape.py +0 -95
- spire/xls/IComment.py +0 -85
- spire/xls/ICommentShape.py +0 -12
- spire/xls/IConditionValue.py +0 -68
- spire/xls/IConditionalFormat.py +0 -606
- spire/xls/IConditionalFormats.py +0 -48
- spire/xls/ICustomDocumentProperties.py +0 -128
- spire/xls/IDataBar.py +0 -105
- spire/xls/IDataValidation.py +0 -421
- spire/xls/IDataValidationCollection.py +0 -132
- spire/xls/IDataValidationTable.py +0 -68
- spire/xls/IDigitalSignature.py +0 -99
- spire/xls/IDigitalSignatures.py +0 -29
- spire/xls/IDocumentProperty.py +0 -226
- spire/xls/IErrorIndicator.py +0 -31
- spire/xls/IExtendIndex.py +0 -21
- spire/xls/IExtendedFormat.py +0 -530
- spire/xls/IFont.py +0 -271
- spire/xls/IFormat3D.py +0 -252
- spire/xls/IGeomPath.py +0 -23
- spire/xls/IGeomPathInfo.py +0 -112
- spire/xls/IGeomPathShape.py +0 -30
- spire/xls/IGlow.py +0 -85
- spire/xls/IGradient.py +0 -174
- spire/xls/IGroupBox.py +0 -67
- spire/xls/IHPageBreak.py +0 -22
- spire/xls/IHPageBreaks.py +0 -31
- spire/xls/IHyperLink.py +0 -118
- spire/xls/IIconSet.py +0 -96
- spire/xls/IInterior.py +0 -117
- spire/xls/IInternalAddtionalFormat.py +0 -238
- spire/xls/IInternalFont.py +0 -31
- spire/xls/ILabelShape.py +0 -49
- spire/xls/ILineShape.py +0 -305
- spire/xls/IListObject.py +0 -493
- spire/xls/IListObjectColumn.py +0 -222
- spire/xls/IListObjects.py +0 -31
- spire/xls/IMarkersDesigner.py +0 -113
- spire/xls/IMigrantRange.py +0 -21
- spire/xls/INamedObject.py +0 -22
- spire/xls/INamedRange.py +0 -162
- spire/xls/INumberFormat.py +0 -77
- spire/xls/IOleObject.py +0 -176
- spire/xls/IOleObjects.py +0 -32
- spire/xls/IOptimizedUpdate.py +0 -28
- spire/xls/IOvalShape.py +0 -154
- spire/xls/IPageSetup.py +0 -195
- spire/xls/IPageSetupBase.py +0 -642
- spire/xls/IPictureShape.py +0 -99
- spire/xls/IPivotCache.py +0 -41
- spire/xls/IPivotCaches.py +0 -39
- spire/xls/IPivotCalculatedFields.py +0 -50
- spire/xls/IPivotField.py +0 -291
- spire/xls/IPivotTable.py +0 -393
- spire/xls/IPivotTableOptions.py +0 -428
- spire/xls/IPropertyData.py +0 -70
- spire/xls/IPrstGeomShape.py +0 -71
- spire/xls/IPrstGeomShapes.py +0 -81
- spire/xls/IRadioButton.py +0 -105
- spire/xls/IRectangleShape.py +0 -60
- spire/xls/IReflectionEffect.py +0 -138
- spire/xls/IScrollBarShape.py +0 -140
- spire/xls/IShadow.py +0 -244
- spire/xls/IShape.py +0 -409
- spire/xls/IShapeFill.py +0 -522
- spire/xls/IShapeLineFormat.py +0 -331
- spire/xls/IShapes.py +0 -270
- spire/xls/ISortColumn.py +0 -96
- spire/xls/ISortColumns.py +0 -70
- spire/xls/ISortedRule.py +0 -112
- spire/xls/ISparklines.py +0 -72
- spire/xls/ISpinnerShape.py +0 -102
- spire/xls/IStyle.py +0 -50
- spire/xls/ITabSheet.py +0 -302
- spire/xls/ITextBox.py +0 -116
- spire/xls/ITextBoxLinkShape.py +0 -40
- spire/xls/ITextBoxShape.py +0 -22
- spire/xls/ITextBoxes.py +0 -61
- spire/xls/ITextFrame.py +0 -120
- spire/xls/IVPageBreak.py +0 -22
- spire/xls/IVPageBreaks.py +0 -31
- spire/xls/IWorkbook.py +0 -1806
- spire/xls/IWorksheet.py +0 -2694
- spire/xls/IXLSRange.py +0 -2479
- spire/xls/IXLSRanges.py +0 -35
- spire/xls/IconSet.py +0 -103
- spire/xls/IgnoreErrorType.py +0 -24
- spire/xls/ImageFormatType.py +0 -18
- spire/xls/ImageLocationTypes.py +0 -15
- spire/xls/ImageType.py +0 -17
- spire/xls/ImportObjectOptions.py +0 -89
- spire/xls/InsertMoveOption.py +0 -15
- spire/xls/InteriorArrayWrapper.py +0 -126
- spire/xls/LegendPositionType.py +0 -21
- spire/xls/LegendSpacingType.py +0 -18
- spire/xls/LineStyleType.py +0 -29
- spire/xls/ListObjectCollection.py +0 -45
- spire/xls/MarkerDesigner.py +0 -172
- spire/xls/MultipleFilterCollection.py +0 -166
- spire/xls/NegativeBarFormat.py +0 -82
- spire/xls/OleObjectType.py +0 -51
- spire/xls/OrderBy.py +0 -19
- spire/xls/OrderType.py +0 -17
- spire/xls/OvalShapeCollection.py +0 -70
- spire/xls/PageBreakExtentType.py +0 -17
- spire/xls/PageBreakType.py +0 -18
- spire/xls/PageOrientationType.py +0 -17
- spire/xls/PagesOrderType.py +0 -17
- spire/xls/PaperSizeType.py +0 -135
- spire/xls/PicturesCollection.py +0 -532
- spire/xls/PivotConditionalFormat.py +0 -54
- spire/xls/PivotConditionalFormatCollection.py +0 -38
- spire/xls/PivotDataField.py +0 -118
- spire/xls/PivotGroupByTypes.py +0 -23
- spire/xls/PivotItem.py +0 -161
- spire/xls/PivotReportFilter.py +0 -92
- spire/xls/PivotReportFilters.py +0 -63
- spire/xls/PivotStyle.py +0 -79
- spire/xls/PivotTableFields.py +0 -85
- spire/xls/PivotTableStyle.py +0 -63
- spire/xls/PrintCommentType.py +0 -18
- spire/xls/PrintErrorsType.py +0 -19
- spire/xls/PrstGeomShapeCollection.py +0 -126
- spire/xls/RadioButtonCollection.py +0 -137
- spire/xls/RangesCollection.py +0 -537
- spire/xls/ReadingOrderType.py +0 -18
- spire/xls/RectangleStyleType.py +0 -17
- spire/xls/ResizeBehaveType.py +0 -18
- spire/xls/ShapeArrowLengthType.py +0 -18
- spire/xls/ShapeArrowStyleType.py +0 -21
- spire/xls/ShapeArrowWidthType.py +0 -18
- spire/xls/ShapeDashLineStyleType.py +0 -23
- spire/xls/ShapeFillType.py +0 -22
- spire/xls/ShapeLayerChangeType.py +0 -19
- spire/xls/ShapeLineStyleType.py +0 -20
- spire/xls/SheetProtectionType.py +0 -33
- spire/xls/SortColumn.py +0 -120
- spire/xls/SortColumns.py +0 -185
- spire/xls/SortComparsionType.py +0 -19
- spire/xls/SortOrientationType.py +0 -17
- spire/xls/SortedWayType.py +0 -18
- spire/xls/Sparkline.py +0 -70
- spire/xls/SparklineCollection.py +0 -112
- spire/xls/SparklineGroup.py +0 -523
- spire/xls/SparklineGroupCollection.py +0 -71
- spire/xls/SparklineType.py +0 -18
- spire/xls/SplitType.py +0 -19
- spire/xls/StylesCollection.py +0 -141
- spire/xls/TextDirection.py +0 -20
- spire/xls/TextRotationType.py +0 -19
- spire/xls/ThemeColorType.py +0 -27
- spire/xls/TickLabelPositionType.py +0 -19
- spire/xls/TickMarkType.py +0 -19
- spire/xls/Top10Filter.py +0 -75
- spire/xls/TopBottomType.py +0 -19
- spire/xls/TopFormatType.py +0 -18
- spire/xls/TrendLineType.py +0 -21
- spire/xls/UnknownVariableAction.py +0 -18
- spire/xls/VPageBreaksCollection.py +0 -96
- spire/xls/ValidationComparisonOperator.py +0 -23
- spire/xls/VariableTypeAction.py +0 -19
- spire/xls/VerticalAlignType.py +0 -20
- spire/xls/ViewMode.py +0 -18
- spire/xls/WorksheetVisibility.py +0 -18
- spire/xls/WorksheetsCollection.py +0 -341
- spire/xls/XLSXBorderJoinType.py +0 -19
- spire/xls/XLSXChartMaterialType.py +0 -32
- spire/xls/XLSXChartPrespectiveType.py +0 -21
- spire/xls/XLSXChartShadowInnerType.py +0 -25
- spire/xls/XLSXChartShadowOuterType.py +0 -25
- spire/xls/XlsAddInFunctionsCollection.py +0 -101
- spire/xls/XlsAutoFiltersCollection.py +0 -119
- spire/xls/XlsBordersCollection.py +0 -101
- spire/xls/XlsBuiltInDocumentProperties.py +0 -639
- spire/xls/XlsChart.py +0 -1510
- spire/xls/XlsChartAxis.py +0 -564
- spire/xls/XlsChartBorder.py +0 -165
- spire/xls/XlsChartCategoryAxis.py +0 -656
- spire/xls/XlsChartDataLabelArea.py +0 -387
- spire/xls/XlsChartDataLabels.py +0 -811
- spire/xls/XlsChartDataPoint.py +0 -108
- spire/xls/XlsChartDataPointsCollection.py +0 -120
- spire/xls/XlsChartDataTable.py +0 -393
- spire/xls/XlsChartDropBar.py +0 -301
- spire/xls/XlsChartFill.py +0 -571
- spire/xls/XlsChartFormat.py +0 -1069
- spire/xls/XlsChartFormatCollection.py +0 -162
- spire/xls/XlsChartFrameFormat.py +0 -614
- spire/xls/XlsChartGridLine.py +0 -171
- spire/xls/XlsChartInterior.py +0 -240
- spire/xls/XlsChartLegend.py +0 -355
- spire/xls/XlsChartLegendArea.py +0 -419
- spire/xls/XlsChartLegendEntry.py +0 -156
- spire/xls/XlsChartSerie.py +0 -589
- spire/xls/XlsChartSerieDataFormat.py +0 -1008
- spire/xls/XlsChartSeriesAxis.py +0 -212
- spire/xls/XlsChartShape.py +0 -1142
- spire/xls/XlsChartTitleArea.py +0 -392
- spire/xls/XlsChartValueAxis.py +0 -317
- spire/xls/XlsChartWallOrFloor.py +0 -319
- spire/xls/XlsCommentsCollection.py +0 -87
- spire/xls/XlsConditionValue.py +0 -111
- spire/xls/XlsConditionalFormat.py +0 -1119
- spire/xls/XlsConditionalFormats.py +0 -590
- spire/xls/XlsDataValidationCollection.py +0 -159
- spire/xls/XlsHPageBreaksCollection.py +0 -85
- spire/xls/XlsHyperLinksCollection.py +0 -102
- spire/xls/XlsPivotCache.py +0 -401
- spire/xls/XlsPivotCacheField.py +0 -209
- spire/xls/XlsPivotCachesCollection.py +0 -124
- spire/xls/XlsPivotField.py +0 -885
- spire/xls/XlsPivotTable.py +0 -905
- spire/xls/XlsRangesCollection.py +0 -1566
- spire/xls/XlsStylesCollection.py +0 -73
- spire/xls/XlsVPageBreaksCollection.py +0 -84
- spire/xls/XlsWorksheetsCollection.py +0 -416
- spire_xls-15.5.0.dist-info/METADATA +0 -197
- spire_xls-15.5.0.dist-info/RECORD +0 -703
- /spire/xls/{lib → autofilter}/__init__.py +0 -0
- /spire/xls/{ChartBorder.py → charts/ChartBorder.py} +0 -0
- /spire/xls/{ChartDataTable.py → charts/ChartDataTable.py} +0 -0
- /spire/xls/{ChartDropBar.py → charts/ChartDropBar.py} +0 -0
- /spire/xls/{ChartInterior.py → charts/ChartInterior.py} +0 -0
- /spire/xls/{ChartPageSetup.py → charts/ChartPageSetup.py} +0 -0
- /spire/xls/{ChartTitle.py → charts/ChartTitle.py} +0 -0
- /spire/xls/{ChartWallOrFloor.py → charts/ChartWallOrFloor.py} +0 -0
- /spire/xls/{XlsChartPageSetup.py → charts/XlsChartPageSetup.py} +0 -0
- /spire/xls/{XlsChartPlotArea.py → charts/XlsChartPlotArea.py} +0 -0
- /spire/xls/{ButtonShapeCollection.py → collection/ButtonShapeCollection.py} +0 -0
- /spire/xls/{CheckBoxCollection.py → collection/CheckBoxCollection.py} +0 -0
- /spire/xls/{CollectionChangeEventArgs.py → collection/CollectionChangeEventArgs.py} +0 -0
- /spire/xls/{DataConnections.py → collection/DataConnections.py} +0 -0
- /spire/xls/{ExternalLinkCollection.py → collection/ExternalLinkCollection.py} +0 -0
- /spire/xls/{FontsCollection.py → collection/FontsCollection.py} +0 -0
- /spire/xls/{GeomertyAdjustValuesCollection.py → collection/GeomertyAdjustValuesCollection.py} +0 -0
- /spire/xls/{GroupBoxCollection.py → collection/GroupBoxCollection.py} +0 -0
- /spire/xls/{LabelShapeCollection.py → collection/LabelShapeCollection.py} +0 -0
- /spire/xls/{LineCollection.py → collection/LineCollection.py} +0 -0
- /spire/xls/{ListBoxCollection.py → collection/ListBoxCollection.py} +0 -0
- /spire/xls/{QueryTableCollection.py → collection/QueryTableCollection.py} +0 -0
- /spire/xls/{RectangleCollection.py → collection/RectangleCollection.py} +0 -0
- /spire/xls/{ScrollBarCollection.py → collection/ScrollBarCollection.py} +0 -0
- /spire/xls/{ShapeCollectionBase.py → collection/ShapeCollectionBase.py} +0 -0
- /spire/xls/{SpinnerShapeCollection.py → collection/SpinnerShapeCollection.py} +0 -0
- /spire/xls/{TextBoxCollection.py → collection/TextBoxCollection.py} +0 -0
- /spire/xls/{WorkbookObjectsCollection.py → collection/WorkbookObjectsCollection.py} +0 -0
- /spire/xls/{WorksheetChartsCollection.py → collection/WorksheetChartsCollection.py} +0 -0
- /spire/xls/{WorksheetConditionalFormats.py → collection/WorksheetConditionalFormats.py} +0 -0
- /spire/xls/{XlsChartSeries.py → collection/XlsChartSeries.py} +0 -0
- /spire/xls/{XlsChartsCollection.py → collection/XlsChartsCollection.py} +0 -0
- /spire/xls/{XlsFontsCollection.py → collection/XlsFontsCollection.py} +0 -0
- /spire/xls/{XlsHeaderFooterShapeCollection.py → collection/XlsHeaderFooterShapeCollection.py} +0 -0
- /spire/xls/{XlsPicturesCollection.py → collection/XlsPicturesCollection.py} +0 -0
- /spire/xls/{XlsWorkbookObjectsCollection.py → collection/XlsWorkbookObjectsCollection.py} +0 -0
- /spire/xls/{XlsWorksheetChartsCollection.py → collection/XlsWorksheetChartsCollection.py} +0 -0
- /spire/xls/{XlsWorksheetConditionalFormats.py → collection/XlsWorksheetConditionalFormats.py} +0 -0
- /spire/xls/{PivotCachesCollection.py → collection/pivot_table/PivotCachesCollection.py} +0 -0
- /spire/xls/{PivotCalculatedFieldsCollection.py → collection/pivot_table/PivotCalculatedFieldsCollection.py} +0 -0
- /spire/xls/{PivotDataFields.py → collection/pivot_table/PivotDataFields.py} +0 -0
- /spire/xls/{PivotTablesCollection.py → collection/pivot_table/PivotTablesCollection.py} +0 -0
- /spire/xls/{XlsPivotTablesCollection.py → collection/pivot_table/XlsPivotTablesCollection.py} +0 -0
- /spire/xls/{AxisTypes.py → enums/AxisTypes.py} +0 -0
- /spire/xls/{CompoundLineType.py → enums/CompoundLineType.py} +0 -0
- /spire/xls/{ConditionValueType.py → enums/ConditionValueType.py} +0 -0
- /spire/xls/{ConditionalTopNType.py → enums/ConditionalTopNType.py} +0 -0
- /spire/xls/{ConnectionDataSourceType.py → enums/ConnectionDataSourceType.py} +0 -0
- /spire/xls/{CopyRangeOptions.py → enums/CopyRangeOptions.py} +0 -0
- /spire/xls/{DataBarAxisPosition.py → enums/DataBarAxisPosition.py} +0 -0
- /spire/xls/{DataBarBorderType.py → enums/DataBarBorderType.py} +0 -0
- /spire/xls/{DataBarFillType.py → enums/DataBarFillType.py} +0 -0
- /spire/xls/{DataBarNegativeColorType.py → enums/DataBarNegativeColorType.py} +0 -0
- /spire/xls/{DataMarkerDirection.py → enums/DataMarkerDirection.py} +0 -0
- /spire/xls/{DateTimeGroupingType.py → enums/DateTimeGroupingType.py} +0 -0
- /spire/xls/{DeleteOption.py → enums/DeleteOption.py} +0 -0
- /spire/xls/{DynamicFilterType.py → enums/DynamicFilterType.py} +0 -0
- /spire/xls/{ExcelClearOptions.py → enums/ExcelClearOptions.py} +0 -0
- /spire/xls/{ExcelFindOptions.py → enums/ExcelFindOptions.py} +0 -0
- /spire/xls/{ExcelSaveType.py → enums/ExcelSaveType.py} +0 -0
- /spire/xls/{ExcelTotalsCalculation.py → enums/ExcelTotalsCalculation.py} +0 -0
- /spire/xls/{FillPictureType.py → enums/FillPictureType.py} +0 -0
- /spire/xls/{FilterOperatorType.py → enums/FilterOperatorType.py} +0 -0
- /spire/xls/{FilterType.py → enums/FilterType.py} +0 -0
- /spire/xls/{FindType.py → enums/FindType.py} +0 -0
- /spire/xls/{GeomertyAdjustValueFormulaType.py → enums/GeomertyAdjustValueFormulaType.py} +0 -0
- /spire/xls/{GroupByType.py → enums/GroupByType.py} +0 -0
- /spire/xls/{HttpContentType.py → enums/HttpContentType.py} +0 -0
- /spire/xls/{IconSetType.py → enums/IconSetType.py} +0 -0
- /spire/xls/{InsertOptionsType.py → enums/InsertOptionsType.py} +0 -0
- /spire/xls/{LineShapeType.py → enums/LineShapeType.py} +0 -0
- /spire/xls/{MeasureUnits.py → enums/MeasureUnits.py} +0 -0
- /spire/xls/{MsoPathType.py → enums/MsoPathType.py} +0 -0
- /spire/xls/{OLEDBCommandType.py → enums/OLEDBCommandType.py} +0 -0
- /spire/xls/{OdsPageBackgroundImagePositionType.py → enums/OdsPageBackgroundImagePositionType.py} +0 -0
- /spire/xls/{OdsPageBackgroundImageType.py → enums/OdsPageBackgroundImageType.py} +0 -0
- /spire/xls/{OdsPageBackgroundType.py → enums/OdsPageBackgroundType.py} +0 -0
- /spire/xls/{OleLinkType.py → enums/OleLinkType.py} +0 -0
- /spire/xls/{PathFillMode.py → enums/PathFillMode.py} +0 -0
- /spire/xls/{PdfConformanceLevel.py → enums/PdfConformanceLevel.py} +0 -0
- /spire/xls/{PivotAutoFomatTypes.py → enums/PivotAutoFomatTypes.py} +0 -0
- /spire/xls/{PivotBuiltInStyles.py → enums/PivotBuiltInStyles.py} +0 -0
- /spire/xls/{PivotDataType.py → enums/PivotDataType.py} +0 -0
- /spire/xls/{PivotFieldFormatType.py → enums/PivotFieldFormatType.py} +0 -0
- /spire/xls/{PivotFieldSortType.py → enums/PivotFieldSortType.py} +0 -0
- /spire/xls/{PivotItemType.py → enums/PivotItemType.py} +0 -0
- /spire/xls/{PivotLabelFilterType.py → enums/PivotLabelFilterType.py} +0 -0
- /spire/xls/{PivotPageAreaFieldsOrderType.py → enums/PivotPageAreaFieldsOrderType.py} +0 -0
- /spire/xls/{PivotTableElement.py → enums/PivotTableElement.py} +0 -0
- /spire/xls/{PivotTableLayoutType.py → enums/PivotTableLayoutType.py} +0 -0
- /spire/xls/{PivotValueFilterType.py → enums/PivotValueFilterType.py} +0 -0
- /spire/xls/{PresetTextEffect.py → enums/PresetTextEffect.py} +0 -0
- /spire/xls/{PrintingPageType.py → enums/PrintingPageType.py} +0 -0
- /spire/xls/{PropertyType.py → enums/PropertyType.py} +0 -0
- /spire/xls/{PrstGeomShapeType.py → enums/PrstGeomShapeType.py} +0 -0
- /spire/xls/{RectangleShapeType.py → enums/RectangleShapeType.py} +0 -0
- /spire/xls/{RelationShip.py → enums/RelationShip.py} +0 -0
- /spire/xls/{RenameStrategy.py → enums/RenameStrategy.py} +0 -0
- /spire/xls/{RtfTags.py → enums/RtfTags.py} +0 -0
- /spire/xls/{SelectionType.py → enums/SelectionType.py} +0 -0
- /spire/xls/{SparklineEmptyCells.py → enums/SparklineEmptyCells.py} +0 -0
- /spire/xls/{SpartlineVerticalAxisType.py → enums/SpartlineVerticalAxisType.py} +0 -0
- /spire/xls/{StrikeThroughStyle.py → enums/StrikeThroughStyle.py} +0 -0
- /spire/xls/{StyleDefineType.py → enums/StyleDefineType.py} +0 -0
- /spire/xls/{SubtotalTypes.py → enums/SubtotalTypes.py} +0 -0
- /spire/xls/{TRangeValueType.py → enums/TRangeValueType.py} +0 -0
- /spire/xls/{TableBuiltInStyles.py → enums/TableBuiltInStyles.py} +0 -0
- /spire/xls/{TextDirectionType.py → enums/TextDirectionType.py} +0 -0
- /spire/xls/{TextVerticalValue.py → enums/TextVerticalValue.py} +0 -0
- /spire/xls/{TimePeriodType.py → enums/TimePeriodType.py} +0 -0
- /spire/xls/{UnderlineStyle.py → enums/UnderlineStyle.py} +0 -0
- /spire/xls/{WorksheetCopyType.py → enums/WorksheetCopyType.py} +0 -0
- /spire/xls/{XLSXChartBevelType.py → enums/XLSXChartBevelType.py} +0 -0
- /spire/xls/{XLSXChartLightingType.py → enums/XLSXChartLightingType.py} +0 -0
- /spire/xls/{XLSXPivotItemType.py → enums/XLSXPivotItemType.py} +0 -0
- /spire/xls/{XmlOpenType.py → enums/XmlOpenType.py} +0 -0
- /spire/xls/{IAddInFunction.py → interfaces/IAddInFunction.py} +0 -0
- /spire/xls/{IAutoFilter.py → interfaces/IAutoFilter.py} +0 -0
- /spire/xls/{IAutoFilterCondition.py → interfaces/IAutoFilterCondition.py} +0 -0
- /spire/xls/{IAutoFilters.py → interfaces/IAutoFilters.py} +0 -0
- /spire/xls/{IBorder.py → interfaces/IBorder.py} +0 -0
- /spire/xls/{IBuiltInDocumentProperties.py → interfaces/IBuiltInDocumentProperties.py} +0 -0
- /spire/xls/{IButtonShape.py → interfaces/IButtonShape.py} +0 -0
- /spire/xls/{IChartDropBar.py → interfaces/IChartDropBar.py} +0 -0
- /spire/xls/{IExcelApplication.py → interfaces/IExcelApplication.py} +0 -0
- /spire/xls/{IInternalWorksheet.py → interfaces/IInternalWorksheet.py} +0 -0
- /spire/xls/{IListBox.py → interfaces/IListBox.py} +0 -0
- /spire/xls/{IRichTextString.py → interfaces/IRichTextString.py} +0 -0
- /spire/xls/{IAddInFunctions.py → interfaces/collections/IAddInFunctions.py} +0 -0
- /spire/xls/{IArcShapes.py → interfaces/collections/IArcShapes.py} +0 -0
- /spire/xls/{IBorders.py → interfaces/collections/IBorders.py} +0 -0
- /spire/xls/{IButtonShapes.py → interfaces/collections/IButtonShapes.py} +0 -0
- /spire/xls/{IChartDataPoints.py → interfaces/collections/IChartDataPoints.py} +0 -0
- /spire/xls/{IChartLegendEntries.py → interfaces/collections/IChartLegendEntries.py} +0 -0
- /spire/xls/{IChartSeries.py → interfaces/collections/IChartSeries.py} +0 -0
- /spire/xls/{IChartShapes.py → interfaces/collections/IChartShapes.py} +0 -0
- /spire/xls/{IChartTrendLines.py → interfaces/collections/IChartTrendLines.py} +0 -0
- /spire/xls/{ICharts.py → interfaces/collections/ICharts.py} +0 -0
- /spire/xls/{ICheckBoxes.py → interfaces/collections/ICheckBoxes.py} +0 -0
- /spire/xls/{IComboBoxes.py → interfaces/collections/IComboBoxes.py} +0 -0
- /spire/xls/{IComments.py → interfaces/collections/IComments.py} +0 -0
- /spire/xls/{IConditionalFormatsCollection.py → interfaces/collections/IConditionalFormatsCollection.py} +0 -0
- /spire/xls/{IGroupBoxes.py → interfaces/collections/IGroupBoxes.py} +0 -0
- /spire/xls/{IHyperLinks.py → interfaces/collections/IHyperLinks.py} +0 -0
- /spire/xls/{ILabelShapes.py → interfaces/collections/ILabelShapes.py} +0 -0
- /spire/xls/{ILines.py → interfaces/collections/ILines.py} +0 -0
- /spire/xls/{IListBoxes.py → interfaces/collections/IListBoxes.py} +0 -0
- /spire/xls/{INameRanges.py → interfaces/collections/INameRanges.py} +0 -0
- /spire/xls/{IOvalShapes.py → interfaces/collections/IOvalShapes.py} +0 -0
- /spire/xls/{IPictures.py → interfaces/collections/IPictures.py} +0 -0
- /spire/xls/{IRadioButtons.py → interfaces/collections/IRadioButtons.py} +0 -0
- /spire/xls/{IRectangleShapes.py → interfaces/collections/IRectangleShapes.py} +0 -0
- /spire/xls/{IScrollBarShapes.py → interfaces/collections/IScrollBarShapes.py} +0 -0
- /spire/xls/{ISpinnerShapes.py → interfaces/collections/ISpinnerShapes.py} +0 -0
- /spire/xls/{IStyles.py → interfaces/collections/IStyles.py} +0 -0
- /spire/xls/{ITabSheets.py → interfaces/collections/ITabSheets.py} +0 -0
- /spire/xls/{IWorksheetGroup.py → interfaces/collections/IWorksheetGroup.py} +0 -0
- /spire/xls/{IWorksheets.py → interfaces/collections/IWorksheets.py} +0 -0
- /spire/xls/{IPivotDataField.py → interfaces/pivot_table/IPivotDataField.py} +0 -0
- /spire/xls/{IPivotDataFields.py → interfaces/pivot_table/IPivotDataFields.py} +0 -0
- /spire/xls/{IPivotFields.py → interfaces/pivot_table/IPivotFields.py} +0 -0
- /spire/xls/{IPivotTables.py → interfaces/pivot_table/IPivotTables.py} +0 -0
- /spire/xls/{IDataSort.py → interfaces/sorting/IDataSort.py} +0 -0
- /spire/xls/{PivotCache.py → pivot_tables/PivotCache.py} +0 -0
- /spire/xls/{PivotField.py → pivot_tables/PivotField.py} +0 -0
- /spire/xls/{PivotTable.py → pivot_tables/PivotTable.py} +0 -0
- /spire/xls/{EncryptedKeyInfo.py → security/EncryptedKeyInfo.py} +0 -0
- /spire/xls/{ISparkline.py → sparkline/ISparkline.py} +0 -0
- /spire/xls/{ISparklineGroup.py → sparkline/ISparklineGroup.py} +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/WHEEL +0 -0
- {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1597 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.xls.common import *
|
|
5
|
+
from spire.xls import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class IChart (abc.ABC) :
|
|
10
|
+
"""Chart interface for Excel workbooks.
|
|
11
|
+
|
|
12
|
+
This interface represents a chart in an Excel workbook, either embedded in a worksheet
|
|
13
|
+
or as a separate chart sheet. It provides properties and methods to customize the
|
|
14
|
+
appearance and behavior of charts, including chart type, data range, axes, legend,
|
|
15
|
+
and 3D formatting options.
|
|
16
|
+
|
|
17
|
+
The IChart interface allows for complete control over all aspects of Excel charts,
|
|
18
|
+
from basic formatting to advanced 3D visualization settings.
|
|
19
|
+
"""
|
|
20
|
+
@property
|
|
21
|
+
@abc.abstractmethod
|
|
22
|
+
def ChartType(self)->'ExcelChartType':
|
|
23
|
+
"""Gets the type of the chart.
|
|
24
|
+
|
|
25
|
+
This property returns the chart type, such as column, bar, line, pie, etc.
|
|
26
|
+
The chart type determines how the data is visually represented in the chart.
|
|
27
|
+
|
|
28
|
+
Example::
|
|
29
|
+
|
|
30
|
+
#Create worksheet
|
|
31
|
+
workbook = Workbook()
|
|
32
|
+
worksheet = workbook.Worksheets[0]
|
|
33
|
+
#Add data
|
|
34
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
35
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
36
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
37
|
+
worksheet.Range["A2"].Text = "10"
|
|
38
|
+
worksheet.Range["B2"].Text = "20"
|
|
39
|
+
worksheet.Range["C2"].Text = "30"
|
|
40
|
+
#Create chart and set chart type
|
|
41
|
+
chart = workbook.Charts.Add()
|
|
42
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
43
|
+
chart.ChartType = ExcelChartType.PyramidBarStacked
|
|
44
|
+
#Save to file
|
|
45
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
46
|
+
|
|
47
|
+
Returns:
|
|
48
|
+
ExcelChartType: The type of the chart.
|
|
49
|
+
"""
|
|
50
|
+
pass
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@ChartType.setter
|
|
54
|
+
@abc.abstractmethod
|
|
55
|
+
def ChartType(self, value:'ExcelChartType'):
|
|
56
|
+
"""Sets the type of the chart.
|
|
57
|
+
|
|
58
|
+
This property sets the chart type, such as column, bar, line, pie, etc.
|
|
59
|
+
The chart type determines how the data is visually represented in the chart.
|
|
60
|
+
|
|
61
|
+
Args:
|
|
62
|
+
value (ExcelChartType): The chart type to set.
|
|
63
|
+
"""
|
|
64
|
+
pass
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@abc.abstractmethod
|
|
69
|
+
def DataRange(self)->'IXLSRange':
|
|
70
|
+
"""Gets the data range for the chart series.
|
|
71
|
+
|
|
72
|
+
This property returns the worksheet range that contains the data used
|
|
73
|
+
to create the chart. This includes both the data values and labels.
|
|
74
|
+
|
|
75
|
+
Example::
|
|
76
|
+
|
|
77
|
+
#Create worksheet
|
|
78
|
+
workbook = Workbook()
|
|
79
|
+
worksheet = workbook.Worksheets[0]
|
|
80
|
+
#Add data
|
|
81
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
82
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
83
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
84
|
+
worksheet.Range["A2"].Text = "10"
|
|
85
|
+
worksheet.Range["B2"].Text = "20"
|
|
86
|
+
worksheet.Range["C2"].Text = "30"
|
|
87
|
+
#Create chart and set range
|
|
88
|
+
chart = workbook.Charts.Add()
|
|
89
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
90
|
+
#Save to file
|
|
91
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
92
|
+
|
|
93
|
+
Returns:
|
|
94
|
+
IXLSRange: The data range for the chart series.
|
|
95
|
+
"""
|
|
96
|
+
pass
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
@DataRange.setter
|
|
100
|
+
@abc.abstractmethod
|
|
101
|
+
def DataRange(self, value:'IXLSRange'):
|
|
102
|
+
"""Sets the data range for the chart series.
|
|
103
|
+
|
|
104
|
+
This property sets the worksheet range that contains the data used
|
|
105
|
+
to create the chart. This includes both the data values and labels.
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
value (IXLSRange): The data range to set for the chart series.
|
|
109
|
+
"""
|
|
110
|
+
pass
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@abc.abstractmethod
|
|
115
|
+
def SeriesDataFromRange(self)->bool:
|
|
116
|
+
"""Gets whether series data is organized by rows in the data range.
|
|
117
|
+
|
|
118
|
+
When true, the series data is organized by rows in the data range,
|
|
119
|
+
with each row representing a different series. When false, the series
|
|
120
|
+
data is organized by columns, with each column representing a different series.
|
|
121
|
+
|
|
122
|
+
Example::
|
|
123
|
+
|
|
124
|
+
#Create worksheet
|
|
125
|
+
workbook = Workbook()
|
|
126
|
+
worksheet = workbook.Worksheets[0]
|
|
127
|
+
#Add data
|
|
128
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
129
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
130
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
131
|
+
worksheet.Range["A2"].Text = "10"
|
|
132
|
+
worksheet.Range["B2"].Text = "20"
|
|
133
|
+
worksheet.Range["C2"].Text = "30"
|
|
134
|
+
#Create chart and set SeriesDataFromRange
|
|
135
|
+
chart = workbook.Charts.Add()
|
|
136
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
137
|
+
chart.SeriesDataFromRange = false
|
|
138
|
+
#Save to file
|
|
139
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
140
|
+
|
|
141
|
+
Returns:
|
|
142
|
+
bool: True if series data is organized by rows, False if by columns.
|
|
143
|
+
"""
|
|
144
|
+
pass
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
@SeriesDataFromRange.setter
|
|
148
|
+
@abc.abstractmethod
|
|
149
|
+
def SeriesDataFromRange(self, value:bool):
|
|
150
|
+
"""Sets whether series data is organized by rows in the data range.
|
|
151
|
+
|
|
152
|
+
When true, the series data is organized by rows in the data range,
|
|
153
|
+
with each row representing a different series. When false, the series
|
|
154
|
+
data is organized by columns, with each column representing a different series.
|
|
155
|
+
|
|
156
|
+
Args:
|
|
157
|
+
value (bool): True to organize series data by rows, False to organize by columns.
|
|
158
|
+
"""
|
|
159
|
+
pass
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@abc.abstractmethod
|
|
164
|
+
def PageSetup(self)->'IChartPageSetup':
|
|
165
|
+
"""Gets the page setup object for the chart.
|
|
166
|
+
|
|
167
|
+
This property returns the page setup object that contains the page settings
|
|
168
|
+
for the chart, such as paper size, orientation, margins, and print options.
|
|
169
|
+
This is a read-only property.
|
|
170
|
+
|
|
171
|
+
Example::
|
|
172
|
+
|
|
173
|
+
#Create worksheet
|
|
174
|
+
workbook = Workbook()
|
|
175
|
+
worksheet = workbook.Worksheets[0]
|
|
176
|
+
#Add data
|
|
177
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
178
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
179
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
180
|
+
worksheet.Range["A2"].Text = "10"
|
|
181
|
+
worksheet.Range["B2"].Text = "20"
|
|
182
|
+
worksheet.Range["C2"].Text = "30"
|
|
183
|
+
#Create chart and range
|
|
184
|
+
chart = workbook.Charts.Add()
|
|
185
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
186
|
+
#Set chart page setup and paper size
|
|
187
|
+
pageSetup = chart.PageSetup
|
|
188
|
+
pageSetup.PaperSize = PaperSizeType.A3TransversePaper
|
|
189
|
+
#Save to file
|
|
190
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
191
|
+
|
|
192
|
+
Returns:
|
|
193
|
+
IChartPageSetup: The page setup object for the chart.
|
|
194
|
+
"""
|
|
195
|
+
pass
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
@abc.abstractmethod
|
|
200
|
+
def XPos(self)->float:
|
|
201
|
+
"""Gets the X-coordinate of the upper-left corner of the chart.
|
|
202
|
+
|
|
203
|
+
This property returns the X-coordinate of the upper-left corner of the chart
|
|
204
|
+
in points (1/72 inch). This is used to position the chart on a worksheet.
|
|
205
|
+
|
|
206
|
+
Returns:
|
|
207
|
+
float: The X-coordinate of the upper-left corner of the chart in points.
|
|
208
|
+
"""
|
|
209
|
+
pass
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
@XPos.setter
|
|
213
|
+
@abc.abstractmethod
|
|
214
|
+
def XPos(self, value:float):
|
|
215
|
+
"""Sets the X-coordinate of the upper-left corner of the chart.
|
|
216
|
+
|
|
217
|
+
This property sets the X-coordinate of the upper-left corner of the chart
|
|
218
|
+
in points (1/72 inch). This is used to position the chart on a worksheet.
|
|
219
|
+
|
|
220
|
+
Args:
|
|
221
|
+
value (float): The X-coordinate of the upper-left corner of the chart in points.
|
|
222
|
+
"""
|
|
223
|
+
pass
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@abc.abstractmethod
|
|
228
|
+
def YPos(self)->float:
|
|
229
|
+
"""Gets the Y-coordinate of the upper-left corner of the chart.
|
|
230
|
+
|
|
231
|
+
This property returns the Y-coordinate of the upper-left corner of the chart
|
|
232
|
+
in points (1/72 inch). This is used to position the chart on a worksheet.
|
|
233
|
+
|
|
234
|
+
Returns:
|
|
235
|
+
float: The Y-coordinate of the upper-left corner of the chart in points.
|
|
236
|
+
"""
|
|
237
|
+
pass
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
@YPos.setter
|
|
241
|
+
@abc.abstractmethod
|
|
242
|
+
def YPos(self, value:float):
|
|
243
|
+
"""Sets the Y-coordinate of the upper-left corner of the chart.
|
|
244
|
+
|
|
245
|
+
This property sets the Y-coordinate of the upper-left corner of the chart
|
|
246
|
+
in points (1/72 inch). This is used to position the chart on a worksheet.
|
|
247
|
+
|
|
248
|
+
Args:
|
|
249
|
+
value (float): The Y-coordinate of the upper-left corner of the chart in points.
|
|
250
|
+
"""
|
|
251
|
+
pass
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@abc.abstractmethod
|
|
256
|
+
def Width(self)->float:
|
|
257
|
+
"""Gets the width of the chart.
|
|
258
|
+
|
|
259
|
+
This property returns the width of the chart in points (1/72 inch).
|
|
260
|
+
|
|
261
|
+
Returns:
|
|
262
|
+
float: The width of the chart in points.
|
|
263
|
+
"""
|
|
264
|
+
pass
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
@Width.setter
|
|
268
|
+
@abc.abstractmethod
|
|
269
|
+
def Width(self, value:float):
|
|
270
|
+
"""Sets the width of the chart.
|
|
271
|
+
|
|
272
|
+
This property sets the width of the chart in points (1/72 inch).
|
|
273
|
+
|
|
274
|
+
Args:
|
|
275
|
+
value (float): The width of the chart in points.
|
|
276
|
+
"""
|
|
277
|
+
pass
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@abc.abstractmethod
|
|
282
|
+
def Height(self)->float:
|
|
283
|
+
"""Gets the height of the chart.
|
|
284
|
+
|
|
285
|
+
This property returns the height of the chart in points (1/72 inch).
|
|
286
|
+
|
|
287
|
+
Returns:
|
|
288
|
+
float: The height of the chart in points.
|
|
289
|
+
"""
|
|
290
|
+
pass
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
@Height.setter
|
|
294
|
+
@abc.abstractmethod
|
|
295
|
+
def Height(self, value:float):
|
|
296
|
+
"""Sets the height of the chart.
|
|
297
|
+
|
|
298
|
+
This property sets the height of the chart in points (1/72 inch).
|
|
299
|
+
|
|
300
|
+
Args:
|
|
301
|
+
value (float): The height of the chart in points.
|
|
302
|
+
"""
|
|
303
|
+
pass
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
@property
|
|
307
|
+
@abc.abstractmethod
|
|
308
|
+
def Name(self)->str:
|
|
309
|
+
"""Gets the name of the chart's worksheet.
|
|
310
|
+
|
|
311
|
+
This property returns the name of the worksheet that contains the chart.
|
|
312
|
+
For chart sheets, this is the name of the chart sheet.
|
|
313
|
+
|
|
314
|
+
Returns:
|
|
315
|
+
str: The name of the chart's worksheet.
|
|
316
|
+
"""
|
|
317
|
+
pass
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
@Name.setter
|
|
321
|
+
@abc.abstractmethod
|
|
322
|
+
def Name(self, value:str):
|
|
323
|
+
"""Sets the name of the chart's worksheet.
|
|
324
|
+
|
|
325
|
+
This property sets the name of the worksheet that contains the chart.
|
|
326
|
+
For chart sheets, this is the name of the chart sheet.
|
|
327
|
+
|
|
328
|
+
Args:
|
|
329
|
+
value (str): The new name for the chart's worksheet.
|
|
330
|
+
"""
|
|
331
|
+
pass
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
@property
|
|
335
|
+
@abc.abstractmethod
|
|
336
|
+
def PrimaryCategoryAxis(self)->'IChartCategoryAxis':
|
|
337
|
+
"""Gets the primary category axis of the chart.
|
|
338
|
+
|
|
339
|
+
This property returns the primary category (X) axis object of the chart,
|
|
340
|
+
allowing you to format and customize the axis appearance and behavior.
|
|
341
|
+
This is a read-only property.
|
|
342
|
+
|
|
343
|
+
Example::
|
|
344
|
+
|
|
345
|
+
#Create worksheet
|
|
346
|
+
workbook = Workbook()
|
|
347
|
+
worksheet = workbook.Worksheets[0]
|
|
348
|
+
#Add data
|
|
349
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
350
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
351
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
352
|
+
worksheet.Range["A2"].Text = "10"
|
|
353
|
+
worksheet.Range["B2"].Text = "20"
|
|
354
|
+
worksheet.Range["C2"].Text = "30"
|
|
355
|
+
#Create chart and range
|
|
356
|
+
chart = workbook.Charts.Add()
|
|
357
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
358
|
+
#Chart category axis
|
|
359
|
+
categoryAxis = chart.PrimaryCategoryAxis
|
|
360
|
+
#Set visibility
|
|
361
|
+
categoryAxis.Visible = false
|
|
362
|
+
#Save to file
|
|
363
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
364
|
+
|
|
365
|
+
Returns:
|
|
366
|
+
IChartCategoryAxis: The primary category axis object of the chart.
|
|
367
|
+
"""
|
|
368
|
+
pass
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
@property
|
|
372
|
+
@abc.abstractmethod
|
|
373
|
+
def PrimaryValueAxis(self)->'IChartValueAxis':
|
|
374
|
+
"""Gets the primary value axis of the chart.
|
|
375
|
+
|
|
376
|
+
This property returns the primary value (Y) axis object of the chart,
|
|
377
|
+
allowing you to format and customize the axis appearance and behavior.
|
|
378
|
+
This is a read-only property.
|
|
379
|
+
|
|
380
|
+
Example::
|
|
381
|
+
|
|
382
|
+
#Create worksheet
|
|
383
|
+
workbook = Workbook()
|
|
384
|
+
worksheet = workbook.Worksheets[0]
|
|
385
|
+
#Add data
|
|
386
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
387
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
388
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
389
|
+
worksheet.Range["A2"].Text = "10"
|
|
390
|
+
worksheet.Range["B2"].Text = "20"
|
|
391
|
+
worksheet.Range["C2"].Text = "30"
|
|
392
|
+
#Create chart and range
|
|
393
|
+
chart = workbook.Charts.Add()
|
|
394
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
395
|
+
#Chart value axis
|
|
396
|
+
valueAxis = chart.PrimaryValueAxis
|
|
397
|
+
#Set visibility
|
|
398
|
+
valueAxis.Visible = false
|
|
399
|
+
#Save to file
|
|
400
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
401
|
+
|
|
402
|
+
Returns:
|
|
403
|
+
IChartValueAxis: The primary value axis object of the chart.
|
|
404
|
+
"""
|
|
405
|
+
pass
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
@property
|
|
409
|
+
@abc.abstractmethod
|
|
410
|
+
def PrimarySerieAxis(self)->'IChartSeriesAxis':
|
|
411
|
+
"""
|
|
412
|
+
Primary serie axis. Read-only.
|
|
413
|
+
Example::
|
|
414
|
+
|
|
415
|
+
#Create worksheet
|
|
416
|
+
workbook = Workbook()
|
|
417
|
+
worksheet = workbook.Worksheets[0]
|
|
418
|
+
#Add data
|
|
419
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
420
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
421
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
422
|
+
worksheet.Range["A2"].Text = "10"
|
|
423
|
+
worksheet.Range["B2"].Text = "20"
|
|
424
|
+
worksheet.Range["C2"].Text = "30"
|
|
425
|
+
#Create chart and range
|
|
426
|
+
chart = workbook.Charts.Add()
|
|
427
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
428
|
+
#Set chart type
|
|
429
|
+
chart.ChartType = ExcelChartType.Surface3D
|
|
430
|
+
#Chart series axis
|
|
431
|
+
seriesAxis = chart.PrimarySerieAxis
|
|
432
|
+
#Set visibility
|
|
433
|
+
seriesAxis.Visible = false
|
|
434
|
+
#Save to file
|
|
435
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
436
|
+
|
|
437
|
+
Returns:
|
|
438
|
+
IChartSeriesAxis: The primary series axis object of the chart.
|
|
439
|
+
"""
|
|
440
|
+
pass
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
@property
|
|
444
|
+
@abc.abstractmethod
|
|
445
|
+
def SecondaryCategoryAxis(self)->'IChartCategoryAxis':
|
|
446
|
+
"""Gets the secondary category axis of the chart.
|
|
447
|
+
|
|
448
|
+
This property returns the secondary category (X) axis object of the chart,
|
|
449
|
+
allowing you to format and customize the axis appearance and behavior.
|
|
450
|
+
This is used for charts with two category axes. This is a read-only property.
|
|
451
|
+
|
|
452
|
+
Example::
|
|
453
|
+
|
|
454
|
+
#Create worksheet
|
|
455
|
+
workbook = Workbook()
|
|
456
|
+
worksheet = workbook.Worksheets[0]
|
|
457
|
+
#Add data
|
|
458
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
459
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
460
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
461
|
+
worksheet.Range["A2"].Text = "10"
|
|
462
|
+
worksheet.Range["B2"].Text = "20"
|
|
463
|
+
worksheet.Range["C2"].Text = "30"
|
|
464
|
+
worksheet.Range["A3"].Value = "100"
|
|
465
|
+
worksheet.Range["B3"].Value = "200"
|
|
466
|
+
worksheet.Range["C3"].Value = "300"
|
|
467
|
+
#Create chart and range
|
|
468
|
+
chart = worksheet.Charts.Add()
|
|
469
|
+
chart.DataRange = worksheet.Range["A1:C3"]
|
|
470
|
+
#Set secondary axis
|
|
471
|
+
serie = chart.Series[1]
|
|
472
|
+
serie.UsePrimaryAxis = false
|
|
473
|
+
chart.SecondaryCategoryAxis.Visible = true
|
|
474
|
+
#Save to file
|
|
475
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
476
|
+
|
|
477
|
+
Returns:
|
|
478
|
+
IChartCategoryAxis: The secondary category axis object of the chart.
|
|
479
|
+
"""
|
|
480
|
+
pass
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
@property
|
|
484
|
+
@abc.abstractmethod
|
|
485
|
+
def SecondaryValueAxis(self)->'IChartValueAxis':
|
|
486
|
+
"""Gets the secondary value axis of the chart.
|
|
487
|
+
|
|
488
|
+
This property returns the secondary value (Y) axis object of the chart,
|
|
489
|
+
allowing you to format and customize the axis appearance and behavior.
|
|
490
|
+
This is used for charts with two value axes. This is a read-only property.
|
|
491
|
+
|
|
492
|
+
Example::
|
|
493
|
+
|
|
494
|
+
#Create worksheet
|
|
495
|
+
workbook = Workbook()
|
|
496
|
+
worksheet = workbook.Worksheets[0]
|
|
497
|
+
#Add data
|
|
498
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
499
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
500
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
501
|
+
worksheet.Range["A2"].Text = "10"
|
|
502
|
+
worksheet.Range["B2"].Text = "20"
|
|
503
|
+
worksheet.Range["C2"].Text = "30"
|
|
504
|
+
worksheet.Range["A3"].Value = "100"
|
|
505
|
+
worksheet.Range["B3"].Value = "200"
|
|
506
|
+
worksheet.Range["C3"].Value = "300"
|
|
507
|
+
#Create chart and range
|
|
508
|
+
chart = worksheet.Charts.Add()
|
|
509
|
+
chart.DataRange = worksheet.Range["A1:C3"]
|
|
510
|
+
#Set secondary axis
|
|
511
|
+
serie = chart.Series[1]
|
|
512
|
+
serie.UsePrimaryAxis = false
|
|
513
|
+
chart.SecondaryValueAxis.Visible = true
|
|
514
|
+
#Save to file
|
|
515
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
516
|
+
|
|
517
|
+
Returns:
|
|
518
|
+
IChartValueAxis: The secondary value axis object of the chart.
|
|
519
|
+
"""
|
|
520
|
+
pass
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
@property
|
|
524
|
+
@abc.abstractmethod
|
|
525
|
+
def ChartArea(self)->'IChartFrameFormat':
|
|
526
|
+
"""Gets the chart area format object of the chart.
|
|
527
|
+
|
|
528
|
+
This property returns the chart area format object that represents the complete
|
|
529
|
+
chart area, allowing you to format its appearance including borders, fill, and effects.
|
|
530
|
+
The chart area is the entire area within the chart. This is a read-only property.
|
|
531
|
+
|
|
532
|
+
Example::
|
|
533
|
+
|
|
534
|
+
#Create worksheet
|
|
535
|
+
workbook = Workbook()
|
|
536
|
+
worksheet = workbook.Worksheets[0]
|
|
537
|
+
#Add data
|
|
538
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
539
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
540
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
541
|
+
worksheet.Range["A2"].Text = "10"
|
|
542
|
+
worksheet.Range["B2"].Text = "20"
|
|
543
|
+
worksheet.Range["C2"].Text = "30"
|
|
544
|
+
#Create chart and range
|
|
545
|
+
chart = worksheet.Charts.Add()
|
|
546
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
547
|
+
#Set chart frame format
|
|
548
|
+
frameFormat = chart.ChartArea
|
|
549
|
+
#Set color
|
|
550
|
+
frameFormat.Fill.ForeColor = System.Drawing.Color.Red
|
|
551
|
+
#Save to file
|
|
552
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
553
|
+
|
|
554
|
+
Returns:
|
|
555
|
+
IChartFrameFormat: The chart area format object of the chart.
|
|
556
|
+
"""
|
|
557
|
+
pass
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
@property
|
|
561
|
+
@abc.abstractmethod
|
|
562
|
+
def PlotArea(self)->'IChartFrameFormat':
|
|
563
|
+
"""Gets the plot area format object of the chart.
|
|
564
|
+
|
|
565
|
+
This property returns the plot area format object that represents the plot area
|
|
566
|
+
of the chart, allowing you to format its appearance including borders, fill, and effects.
|
|
567
|
+
The plot area is the area where the data is plotted. This is a read-only property.
|
|
568
|
+
|
|
569
|
+
Example::
|
|
570
|
+
|
|
571
|
+
#Create worksheet
|
|
572
|
+
workbook = Workbook()
|
|
573
|
+
worksheet = workbook.Worksheets[0]
|
|
574
|
+
#Add data
|
|
575
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
576
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
577
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
578
|
+
worksheet.Range["A2"].Text = "10"
|
|
579
|
+
worksheet.Range["B2"].Text = "20"
|
|
580
|
+
worksheet.Range["C2"].Text = "30"
|
|
581
|
+
#Create chart and range
|
|
582
|
+
chart = worksheet.Charts.Add()
|
|
583
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
584
|
+
#Set chart frame format
|
|
585
|
+
frameFormat = chart.PlotArea
|
|
586
|
+
#Set color
|
|
587
|
+
frameFormat.Fill.ForeColor = System.Drawing.Color.Red
|
|
588
|
+
#Save to file
|
|
589
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
590
|
+
|
|
591
|
+
Returns:
|
|
592
|
+
IChartFrameFormat: The plot area format object of the chart.
|
|
593
|
+
"""
|
|
594
|
+
pass
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
@property
|
|
598
|
+
@abc.abstractmethod
|
|
599
|
+
def Walls(self)->'IChartWallOrFloor':
|
|
600
|
+
"""
|
|
601
|
+
Represents chart walls. Read-only.
|
|
602
|
+
Example::
|
|
603
|
+
|
|
604
|
+
#Create worksheet
|
|
605
|
+
workbook = Workbook()
|
|
606
|
+
workbook.LoadFromFile("Sample.xlsx")
|
|
607
|
+
worksheet = workbook.Worksheets[0]
|
|
608
|
+
#Get chart
|
|
609
|
+
chart = worksheet.Charts[0]
|
|
610
|
+
#Set chart wall
|
|
611
|
+
wall = chart.Walls
|
|
612
|
+
#Set color
|
|
613
|
+
wall.Fill.FillType = ShapeFillType.SolidColor
|
|
614
|
+
wall.Fill.ForeColor = System.Drawing.Color.Red
|
|
615
|
+
#Save to file
|
|
616
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
617
|
+
|
|
618
|
+
Returns:
|
|
619
|
+
IChartWallOrFloor: The walls object of the chart.
|
|
620
|
+
"""
|
|
621
|
+
pass
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
@property
|
|
625
|
+
@abc.abstractmethod
|
|
626
|
+
def Floor(self)->'IChartWallOrFloor':
|
|
627
|
+
"""Gets the floor object of the chart.
|
|
628
|
+
|
|
629
|
+
This property returns the floor object that represents the floor of a 3D chart,
|
|
630
|
+
allowing you to format its appearance including borders, fill, and effects.
|
|
631
|
+
This is applicable only to 3D charts. This is a read-only property.
|
|
632
|
+
|
|
633
|
+
Example::
|
|
634
|
+
|
|
635
|
+
#Create worksheet
|
|
636
|
+
workbook = Workbook()
|
|
637
|
+
workbook.LoadFromFile("Sample.xlsx")
|
|
638
|
+
worksheet = workbook.Worksheets[0]
|
|
639
|
+
#Get chart
|
|
640
|
+
chart = worksheet.Charts[0]
|
|
641
|
+
#Set chart wall
|
|
642
|
+
floor = chart.Floor
|
|
643
|
+
#Set color
|
|
644
|
+
floor.Fill.FillType = ShapeFillType.SolidColor
|
|
645
|
+
floor.Fill.ForeColor = System.Drawing.Color.Red
|
|
646
|
+
#Save to file
|
|
647
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
648
|
+
|
|
649
|
+
Returns:
|
|
650
|
+
IChartWallOrFloor: The floor object of the chart.
|
|
651
|
+
"""
|
|
652
|
+
pass
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
@property
|
|
656
|
+
@abc.abstractmethod
|
|
657
|
+
def DataTable(self)->'IChartDataTable':
|
|
658
|
+
"""Gets the data table object of the chart.
|
|
659
|
+
|
|
660
|
+
This property returns the data table object that represents the data table
|
|
661
|
+
displayed with the chart, allowing you to format its appearance and contents.
|
|
662
|
+
A data table shows the chart data in a tabular format below the chart.
|
|
663
|
+
|
|
664
|
+
Example::
|
|
665
|
+
|
|
666
|
+
#Create worksheet
|
|
667
|
+
workbook = Workbook()
|
|
668
|
+
worksheet = workbook.Worksheets[0]
|
|
669
|
+
#Add data
|
|
670
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
671
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
672
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
673
|
+
worksheet.Range["A2"].Text = "10"
|
|
674
|
+
worksheet.Range["B2"].Text = "20"
|
|
675
|
+
worksheet.Range["C2"].Text = "30"
|
|
676
|
+
#Create chart and range
|
|
677
|
+
chart = worksheet.Charts.Add()
|
|
678
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
679
|
+
#Set Chart data table
|
|
680
|
+
chart.HasDataTable = true
|
|
681
|
+
dataTable = chart.DataTable
|
|
682
|
+
#Set border
|
|
683
|
+
dataTable.HasBorders = false
|
|
684
|
+
#Save to file
|
|
685
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
686
|
+
|
|
687
|
+
Returns:
|
|
688
|
+
IChartDataTable: The data table object of the chart.
|
|
689
|
+
"""
|
|
690
|
+
pass
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
@property
|
|
694
|
+
@abc.abstractmethod
|
|
695
|
+
def HasDataTable(self)->bool:
|
|
696
|
+
"""Gets whether the chart has a data table.
|
|
697
|
+
|
|
698
|
+
This property indicates whether the chart displays a data table.
|
|
699
|
+
A data table shows the chart data in a tabular format below the chart.
|
|
700
|
+
|
|
701
|
+
Example::
|
|
702
|
+
|
|
703
|
+
#Create worksheet
|
|
704
|
+
workbook = Workbook()
|
|
705
|
+
worksheet = workbook.Worksheets[0]
|
|
706
|
+
#Add data
|
|
707
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
708
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
709
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
710
|
+
worksheet.Range["A2"].Text = "10"
|
|
711
|
+
worksheet.Range["B2"].Text = "20"
|
|
712
|
+
worksheet.Range["C2"].Text = "30"
|
|
713
|
+
#Create chart and range
|
|
714
|
+
chart = worksheet.Charts.Add()
|
|
715
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
716
|
+
#Set Chart data table
|
|
717
|
+
chart.HasDataTable = true
|
|
718
|
+
#Save to file
|
|
719
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
720
|
+
|
|
721
|
+
Returns:
|
|
722
|
+
bool: True if the chart has a data table, otherwise False.
|
|
723
|
+
"""
|
|
724
|
+
pass
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
@HasDataTable.setter
|
|
728
|
+
@abc.abstractmethod
|
|
729
|
+
def HasDataTable(self, value:bool):
|
|
730
|
+
"""Sets whether the chart has a data table.
|
|
731
|
+
|
|
732
|
+
This property controls whether the chart displays a data table.
|
|
733
|
+
A data table shows the chart data in a tabular format below the chart.
|
|
734
|
+
|
|
735
|
+
Args:
|
|
736
|
+
value (bool): True to display a data table, otherwise False.
|
|
737
|
+
"""
|
|
738
|
+
pass
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
@property
|
|
742
|
+
@abc.abstractmethod
|
|
743
|
+
def Legend(self)->'IChartLegend':
|
|
744
|
+
"""Gets the legend object of the chart.
|
|
745
|
+
|
|
746
|
+
This property returns the legend object that represents the legend
|
|
747
|
+
displayed with the chart, allowing you to format its appearance and position.
|
|
748
|
+
A legend identifies the patterns or colors that are assigned to the
|
|
749
|
+
categories in the chart.
|
|
750
|
+
|
|
751
|
+
Example::
|
|
752
|
+
|
|
753
|
+
#Create worksheet
|
|
754
|
+
workbook = Workbook()
|
|
755
|
+
worksheet = workbook.Worksheets[0]
|
|
756
|
+
#Add data
|
|
757
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
758
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
759
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
760
|
+
worksheet.Range["A2"].Text = "10"
|
|
761
|
+
worksheet.Range["B2"].Text = "20"
|
|
762
|
+
worksheet.Range["C2"].Text = "30"
|
|
763
|
+
#Create chart and range
|
|
764
|
+
chart = worksheet.Charts.Add()
|
|
765
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
766
|
+
#Set chart legend and legend position
|
|
767
|
+
legend = chart.Legend
|
|
768
|
+
legend.Position = LegendPositionType.Left
|
|
769
|
+
#Save to file
|
|
770
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
771
|
+
|
|
772
|
+
Returns:
|
|
773
|
+
IChartLegend: The legend object of the chart.
|
|
774
|
+
"""
|
|
775
|
+
pass
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
@property
|
|
779
|
+
@abc.abstractmethod
|
|
780
|
+
def HasLegend(self)->bool:
|
|
781
|
+
"""Gets whether the chart has a legend.
|
|
782
|
+
|
|
783
|
+
This property indicates whether the chart displays a legend.
|
|
784
|
+
A legend identifies the patterns or colors that are assigned to the
|
|
785
|
+
categories in the chart.
|
|
786
|
+
|
|
787
|
+
Example::
|
|
788
|
+
|
|
789
|
+
#Create worksheet
|
|
790
|
+
workbook = Workbook()
|
|
791
|
+
worksheet = workbook.Worksheets[0]
|
|
792
|
+
#Add data
|
|
793
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
794
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
795
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
796
|
+
worksheet.Range["A2"].Text = "10"
|
|
797
|
+
worksheet.Range["B2"].Text = "20"
|
|
798
|
+
worksheet.Range["C2"].Text = "30"
|
|
799
|
+
#Create chart and range
|
|
800
|
+
chart = worksheet.Charts.Add()
|
|
801
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
802
|
+
#Set hasLegend
|
|
803
|
+
chart.HasLegend = false
|
|
804
|
+
#Save to file
|
|
805
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
806
|
+
|
|
807
|
+
Returns:
|
|
808
|
+
bool: True if the chart has a legend, otherwise False.
|
|
809
|
+
"""
|
|
810
|
+
pass
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
@HasLegend.setter
|
|
814
|
+
@abc.abstractmethod
|
|
815
|
+
def HasLegend(self, value:bool):
|
|
816
|
+
"""Sets whether the chart has a legend.
|
|
817
|
+
|
|
818
|
+
This property controls whether the chart displays a legend.
|
|
819
|
+
A legend identifies the patterns or colors that are assigned to the
|
|
820
|
+
categories in the chart.
|
|
821
|
+
|
|
822
|
+
Args:
|
|
823
|
+
value (bool): True to display a legend, otherwise False.
|
|
824
|
+
"""
|
|
825
|
+
pass
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
@property
|
|
829
|
+
@abc.abstractmethod
|
|
830
|
+
def Rotation(self)->int:
|
|
831
|
+
"""Gets the rotation angle of the 3-D chart view.
|
|
832
|
+
|
|
833
|
+
This property returns the rotation angle of the 3-D chart view around the z-axis,
|
|
834
|
+
in degrees. The value can range from 0 to 360 degrees. This property is applicable
|
|
835
|
+
only to 3D charts.
|
|
836
|
+
|
|
837
|
+
Example::
|
|
838
|
+
|
|
839
|
+
#Create worksheet
|
|
840
|
+
workbook = Workbook()
|
|
841
|
+
worksheet = workbook.Worksheets[0]
|
|
842
|
+
#Add data
|
|
843
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
844
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
845
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
846
|
+
worksheet.Range["A2"].Text = "10"
|
|
847
|
+
worksheet.Range["B2"].Text = "20"
|
|
848
|
+
worksheet.Range["C2"].Text = "30"
|
|
849
|
+
#Create chart and range
|
|
850
|
+
chart = worksheet.Charts.Add()
|
|
851
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
852
|
+
#Set Chart rotation
|
|
853
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
854
|
+
chart.Rotation = 50
|
|
855
|
+
#Save to file
|
|
856
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
857
|
+
|
|
858
|
+
Returns:
|
|
859
|
+
int: The rotation angle of the 3-D chart view, from 0 to 360 degrees.
|
|
860
|
+
"""
|
|
861
|
+
pass
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
@Rotation.setter
|
|
865
|
+
@abc.abstractmethod
|
|
866
|
+
def Rotation(self, value:int):
|
|
867
|
+
"""Sets the rotation angle of the 3-D chart view.
|
|
868
|
+
|
|
869
|
+
This property sets the rotation angle of the 3-D chart view around the z-axis,
|
|
870
|
+
in degrees. The value can range from 0 to 360 degrees. This property is applicable
|
|
871
|
+
only to 3D charts.
|
|
872
|
+
|
|
873
|
+
Args:
|
|
874
|
+
value (int): The rotation angle to set, from 0 to 360 degrees.
|
|
875
|
+
"""
|
|
876
|
+
pass
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
@property
|
|
880
|
+
@abc.abstractmethod
|
|
881
|
+
def Elevation(self)->int:
|
|
882
|
+
"""Gets the elevation angle of the 3-D chart view.
|
|
883
|
+
|
|
884
|
+
This property returns the elevation angle of the 3-D chart view, in degrees.
|
|
885
|
+
The value can range from -90 to 90 degrees, where 0 degrees represents a
|
|
886
|
+
view level with the horizon. This property is applicable only to 3D charts.
|
|
887
|
+
|
|
888
|
+
Example::
|
|
889
|
+
|
|
890
|
+
#Create worksheet
|
|
891
|
+
workbook = Workbook()
|
|
892
|
+
worksheet = workbook.Worksheets[0]
|
|
893
|
+
#Add data
|
|
894
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
895
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
896
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
897
|
+
worksheet.Range["A2"].Text = "10"
|
|
898
|
+
worksheet.Range["B2"].Text = "20"
|
|
899
|
+
worksheet.Range["C2"].Text = "30"
|
|
900
|
+
#Create chart and range
|
|
901
|
+
chart = worksheet.Charts.Add()
|
|
902
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
903
|
+
#Set Chart elevation
|
|
904
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
905
|
+
chart.Elevation = 50
|
|
906
|
+
#Save to file
|
|
907
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
908
|
+
|
|
909
|
+
Returns:
|
|
910
|
+
int: The elevation angle of the 3-D chart view, from -90 to 90 degrees.
|
|
911
|
+
"""
|
|
912
|
+
pass
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
@Elevation.setter
|
|
916
|
+
@abc.abstractmethod
|
|
917
|
+
def Elevation(self, value:int):
|
|
918
|
+
"""Sets the elevation angle of the 3-D chart view.
|
|
919
|
+
|
|
920
|
+
This property sets the elevation angle of the 3-D chart view, in degrees.
|
|
921
|
+
The value can range from -90 to 90 degrees, where 0 degrees represents a
|
|
922
|
+
view level with the horizon. This property is applicable only to 3D charts.
|
|
923
|
+
|
|
924
|
+
Args:
|
|
925
|
+
value (int): The elevation angle to set, from -90 to 90 degrees.
|
|
926
|
+
"""
|
|
927
|
+
pass
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
@property
|
|
931
|
+
@abc.abstractmethod
|
|
932
|
+
def Perspective(self)->int:
|
|
933
|
+
"""Gets the perspective of the 3-D chart view.
|
|
934
|
+
|
|
935
|
+
This property returns the perspective for the 3-D chart view.
|
|
936
|
+
The value can range from 0 to 100, where higher values indicate a
|
|
937
|
+
more dramatic perspective effect. This property is applicable only
|
|
938
|
+
to 3D charts.
|
|
939
|
+
|
|
940
|
+
Example::
|
|
941
|
+
|
|
942
|
+
#Create worksheet
|
|
943
|
+
workbook = Workbook()
|
|
944
|
+
worksheet = workbook.Worksheets[0]
|
|
945
|
+
#Add data
|
|
946
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
947
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
948
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
949
|
+
worksheet.Range["A2"].Text = "10"
|
|
950
|
+
worksheet.Range["B2"].Text = "20"
|
|
951
|
+
worksheet.Range["C2"].Text = "30"
|
|
952
|
+
#Create chart and range
|
|
953
|
+
chart = worksheet.Charts.Add()
|
|
954
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
955
|
+
#Set Chart perspective
|
|
956
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
957
|
+
chart.Perspective = 70
|
|
958
|
+
#Save to file
|
|
959
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
960
|
+
|
|
961
|
+
Returns:
|
|
962
|
+
int: The perspective of the 3-D chart view, from 0 to 100.
|
|
963
|
+
"""
|
|
964
|
+
pass
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
@Perspective.setter
|
|
968
|
+
@abc.abstractmethod
|
|
969
|
+
def Perspective(self, value:int):
|
|
970
|
+
"""Sets the perspective of the 3-D chart view.
|
|
971
|
+
|
|
972
|
+
This property sets the perspective for the 3-D chart view.
|
|
973
|
+
The value can range from 0 to 100, where higher values indicate a
|
|
974
|
+
more dramatic perspective effect. This property is applicable only
|
|
975
|
+
to 3D charts.
|
|
976
|
+
|
|
977
|
+
Args:
|
|
978
|
+
value (int): The perspective to set, from 0 to 100.
|
|
979
|
+
"""
|
|
980
|
+
pass
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
@property
|
|
984
|
+
@abc.abstractmethod
|
|
985
|
+
def HeightPercent(self)->int:
|
|
986
|
+
"""Gets the height of a 3-D chart as a percentage of the chart width.
|
|
987
|
+
|
|
988
|
+
This property returns the height of a 3-D chart as a percentage of the chart width.
|
|
989
|
+
The value can range from 5 to 500 percent. This property is applicable only to 3D charts.
|
|
990
|
+
|
|
991
|
+
Example::
|
|
992
|
+
|
|
993
|
+
#Create worksheet
|
|
994
|
+
workbook = Workbook()
|
|
995
|
+
worksheet = workbook.Worksheets[0]
|
|
996
|
+
#Add data
|
|
997
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
998
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
999
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
1000
|
+
worksheet.Range["A2"].Text = "10"
|
|
1001
|
+
worksheet.Range["B2"].Text = "20"
|
|
1002
|
+
worksheet.Range["C2"].Text = "30"
|
|
1003
|
+
#Create chart and range
|
|
1004
|
+
chart = worksheet.Charts.Add()
|
|
1005
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
1006
|
+
#Set Chart height percent
|
|
1007
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
1008
|
+
chart.AutoScaling = false
|
|
1009
|
+
chart.HeightPercent = 50
|
|
1010
|
+
#Save to file
|
|
1011
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
1012
|
+
|
|
1013
|
+
Returns:
|
|
1014
|
+
int: The height of the 3-D chart as a percentage of the chart width (5-500).
|
|
1015
|
+
"""
|
|
1016
|
+
pass
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
@HeightPercent.setter
|
|
1020
|
+
@abc.abstractmethod
|
|
1021
|
+
def HeightPercent(self, value:int):
|
|
1022
|
+
"""Sets the height of a 3-D chart as a percentage of the chart width.
|
|
1023
|
+
|
|
1024
|
+
This property sets the height of a 3-D chart as a percentage of the chart width.
|
|
1025
|
+
The value can range from 5 to 500 percent. This property is applicable only to 3D charts.
|
|
1026
|
+
|
|
1027
|
+
Args:
|
|
1028
|
+
value (int): The height of the 3-D chart as a percentage of the chart width (5-500).
|
|
1029
|
+
"""
|
|
1030
|
+
pass
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
@property
|
|
1034
|
+
@abc.abstractmethod
|
|
1035
|
+
def DepthPercent(self)->int:
|
|
1036
|
+
"""Gets the depth of a 3-D chart as a percentage of the chart width.
|
|
1037
|
+
|
|
1038
|
+
This property returns the depth of a 3-D chart as a percentage of the chart width.
|
|
1039
|
+
The value can range from 20 to 2000 percent. This property is applicable only to 3D charts.
|
|
1040
|
+
|
|
1041
|
+
Example::
|
|
1042
|
+
|
|
1043
|
+
#Create worksheet
|
|
1044
|
+
workbook = Workbook()
|
|
1045
|
+
worksheet = workbook.Worksheets[0]
|
|
1046
|
+
#Add data
|
|
1047
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
1048
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
1049
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
1050
|
+
worksheet.Range["A2"].Text = "10"
|
|
1051
|
+
worksheet.Range["B2"].Text = "20"
|
|
1052
|
+
worksheet.Range["C2"].Text = "30"
|
|
1053
|
+
#Create chart and range
|
|
1054
|
+
chart = worksheet.Charts.Add()
|
|
1055
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
1056
|
+
#Set Chart depth percent
|
|
1057
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
1058
|
+
chart.DepthPercent = 500
|
|
1059
|
+
#Save to file
|
|
1060
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
1061
|
+
|
|
1062
|
+
Returns:
|
|
1063
|
+
int: The depth of the 3-D chart as a percentage of the chart width (20-2000).
|
|
1064
|
+
"""
|
|
1065
|
+
pass
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
@DepthPercent.setter
|
|
1069
|
+
@abc.abstractmethod
|
|
1070
|
+
def DepthPercent(self, value:int):
|
|
1071
|
+
"""Sets the depth of a 3-D chart as a percentage of the chart width.
|
|
1072
|
+
|
|
1073
|
+
This property sets the depth of a 3-D chart as a percentage of the chart width.
|
|
1074
|
+
The value can range from 20 to 2000 percent. This property is applicable only to 3D charts.
|
|
1075
|
+
|
|
1076
|
+
Args:
|
|
1077
|
+
value (int): The depth of the 3-D chart as a percentage of the chart width (20-2000).
|
|
1078
|
+
"""
|
|
1079
|
+
pass
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
@property
|
|
1083
|
+
@abc.abstractmethod
|
|
1084
|
+
def GapDepth(self)->int:
|
|
1085
|
+
"""Gets the distance between data series in a 3-D chart.
|
|
1086
|
+
|
|
1087
|
+
This property returns the distance between data series in a 3-D chart,
|
|
1088
|
+
as a percentage of the marker width. The value can range from 0 to 500 percent.
|
|
1089
|
+
This property is applicable only to 3D charts.
|
|
1090
|
+
|
|
1091
|
+
Example::
|
|
1092
|
+
|
|
1093
|
+
#Create worksheet
|
|
1094
|
+
workbook = Workbook()
|
|
1095
|
+
worksheet = workbook.Worksheets[0]
|
|
1096
|
+
#Add data
|
|
1097
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
1098
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
1099
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
1100
|
+
worksheet.Range["A2"].Text = "10"
|
|
1101
|
+
worksheet.Range["B2"].Text = "20"
|
|
1102
|
+
worksheet.Range["C2"].Text = "30"
|
|
1103
|
+
#Create chart and range
|
|
1104
|
+
chart = worksheet.Charts.Add()
|
|
1105
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
1106
|
+
#Set gap depth
|
|
1107
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
1108
|
+
chart.GapDepth = 450
|
|
1109
|
+
#Save to file
|
|
1110
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
1111
|
+
|
|
1112
|
+
Returns:
|
|
1113
|
+
int: The distance between data series as a percentage of the marker width (0-500).
|
|
1114
|
+
"""
|
|
1115
|
+
pass
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
@GapDepth.setter
|
|
1119
|
+
@abc.abstractmethod
|
|
1120
|
+
def GapDepth(self, value:int):
|
|
1121
|
+
"""Sets the distance between data series in a 3-D chart.
|
|
1122
|
+
|
|
1123
|
+
This property sets the distance between data series in a 3-D chart,
|
|
1124
|
+
as a percentage of the marker width. The value can range from 0 to 500 percent.
|
|
1125
|
+
This property is applicable only to 3D charts.
|
|
1126
|
+
|
|
1127
|
+
Args:
|
|
1128
|
+
value (int): The distance between data series as a percentage of the marker width (0-500).
|
|
1129
|
+
"""
|
|
1130
|
+
pass
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
@property
|
|
1134
|
+
@abc.abstractmethod
|
|
1135
|
+
def RightAngleAxes(self)->bool:
|
|
1136
|
+
"""Gets whether the chart axes are at right angles.
|
|
1137
|
+
|
|
1138
|
+
When true, the chart axes are at right angles, independent of chart rotation or elevation.
|
|
1139
|
+
This property is applicable only to 3D charts.
|
|
1140
|
+
|
|
1141
|
+
Example::
|
|
1142
|
+
|
|
1143
|
+
#Create worksheet
|
|
1144
|
+
workbook = Workbook()
|
|
1145
|
+
worksheet = workbook.Worksheets[0]
|
|
1146
|
+
#Add data
|
|
1147
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
1148
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
1149
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
1150
|
+
worksheet.Range["A2"].Text = "10"
|
|
1151
|
+
worksheet.Range["B2"].Text = "20"
|
|
1152
|
+
worksheet.Range["C2"].Text = "30"
|
|
1153
|
+
#Create chart and range
|
|
1154
|
+
chart = worksheet.Charts.Add()
|
|
1155
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
1156
|
+
#Set Chart rotation and RightAngleAxes
|
|
1157
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
1158
|
+
chart.Rotation = 50
|
|
1159
|
+
chart.RightAngleAxes = true
|
|
1160
|
+
#Save to file
|
|
1161
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
1162
|
+
|
|
1163
|
+
Returns:
|
|
1164
|
+
bool: True if the chart axes are at right angles, otherwise False.
|
|
1165
|
+
"""
|
|
1166
|
+
pass
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
@RightAngleAxes.setter
|
|
1170
|
+
@abc.abstractmethod
|
|
1171
|
+
def RightAngleAxes(self, value:bool):
|
|
1172
|
+
"""Sets whether the chart axes are at right angles.
|
|
1173
|
+
|
|
1174
|
+
When true, the chart axes are at right angles, independent of chart rotation or elevation.
|
|
1175
|
+
This property is applicable only to 3D charts.
|
|
1176
|
+
|
|
1177
|
+
Args:
|
|
1178
|
+
value (bool): True to set the chart axes at right angles, otherwise False.
|
|
1179
|
+
"""
|
|
1180
|
+
pass
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
@property
|
|
1184
|
+
@abc.abstractmethod
|
|
1185
|
+
def AutoScaling(self)->bool:
|
|
1186
|
+
"""Gets whether Excel scales a 3-D chart for better viewing.
|
|
1187
|
+
|
|
1188
|
+
When true, Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.
|
|
1189
|
+
This property is applicable only to 3D charts.
|
|
1190
|
+
|
|
1191
|
+
Example::
|
|
1192
|
+
|
|
1193
|
+
#Create worksheet
|
|
1194
|
+
workbook = Workbook()
|
|
1195
|
+
worksheet = workbook.Worksheets[0]
|
|
1196
|
+
#Add data
|
|
1197
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
1198
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
1199
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
1200
|
+
worksheet.Range["A2"].Text = "10"
|
|
1201
|
+
worksheet.Range["B2"].Text = "20"
|
|
1202
|
+
worksheet.Range["C2"].Text = "30"
|
|
1203
|
+
#Create chart and range
|
|
1204
|
+
chart = worksheet.Charts.Add()
|
|
1205
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
1206
|
+
#Set auto scaling
|
|
1207
|
+
chart.ChartType = ExcelChartType.Column3DClustered
|
|
1208
|
+
chart.HeightPercent = 50
|
|
1209
|
+
chart.AutoScaling = true
|
|
1210
|
+
#Save to file
|
|
1211
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
1212
|
+
|
|
1213
|
+
Returns:
|
|
1214
|
+
bool: True if Excel automatically scales the 3-D chart, otherwise False.
|
|
1215
|
+
"""
|
|
1216
|
+
pass
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
@AutoScaling.setter
|
|
1220
|
+
@abc.abstractmethod
|
|
1221
|
+
def AutoScaling(self, value:bool):
|
|
1222
|
+
"""Sets whether Excel scales a 3-D chart for better viewing.
|
|
1223
|
+
|
|
1224
|
+
When true, Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.
|
|
1225
|
+
This property is applicable only to 3D charts.
|
|
1226
|
+
|
|
1227
|
+
Args:
|
|
1228
|
+
value (bool): True to enable automatic scaling of the 3-D chart, otherwise False.
|
|
1229
|
+
"""
|
|
1230
|
+
pass
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
@property
|
|
1234
|
+
@abc.abstractmethod
|
|
1235
|
+
def WallsAndGridlines2D(self)->bool:
|
|
1236
|
+
"""Gets whether gridlines are drawn two-dimensionally on a 3-D chart.
|
|
1237
|
+
|
|
1238
|
+
When true, gridlines are drawn two-dimensionally on a 3-D chart,
|
|
1239
|
+
which can improve readability. This property is applicable only to 3D charts.
|
|
1240
|
+
|
|
1241
|
+
Returns:
|
|
1242
|
+
bool: True if gridlines are drawn two-dimensionally, otherwise False.
|
|
1243
|
+
"""
|
|
1244
|
+
pass
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
@WallsAndGridlines2D.setter
|
|
1248
|
+
@abc.abstractmethod
|
|
1249
|
+
def WallsAndGridlines2D(self, value:bool):
|
|
1250
|
+
"""Sets whether gridlines are drawn two-dimensionally on a 3-D chart.
|
|
1251
|
+
|
|
1252
|
+
When true, gridlines are drawn two-dimensionally on a 3-D chart,
|
|
1253
|
+
which can improve readability. This property is applicable only to 3D charts.
|
|
1254
|
+
|
|
1255
|
+
Args:
|
|
1256
|
+
value (bool): True to draw gridlines two-dimensionally, otherwise False.
|
|
1257
|
+
"""
|
|
1258
|
+
pass
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
@property
|
|
1262
|
+
@abc.abstractmethod
|
|
1263
|
+
def HasPlotArea(self)->bool:
|
|
1264
|
+
"""Gets whether the chart has a plot area.
|
|
1265
|
+
|
|
1266
|
+
This property indicates whether the chart displays a plot area.
|
|
1267
|
+
The plot area is the area where the data is plotted.
|
|
1268
|
+
|
|
1269
|
+
Returns:
|
|
1270
|
+
bool: True if the chart has a plot area, otherwise False.
|
|
1271
|
+
"""
|
|
1272
|
+
pass
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
@HasPlotArea.setter
|
|
1276
|
+
@abc.abstractmethod
|
|
1277
|
+
def HasPlotArea(self, value:bool):
|
|
1278
|
+
"""Sets whether the chart has a plot area.
|
|
1279
|
+
|
|
1280
|
+
This property controls whether the chart displays a plot area.
|
|
1281
|
+
The plot area is the area where the data is plotted.
|
|
1282
|
+
|
|
1283
|
+
Args:
|
|
1284
|
+
value (bool): True to display a plot area, otherwise False.
|
|
1285
|
+
"""
|
|
1286
|
+
pass
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
@property
|
|
1290
|
+
@abc.abstractmethod
|
|
1291
|
+
def DisplayBlanksAs(self)->'ChartPlotEmptyType':
|
|
1292
|
+
"""Gets how blank cells are plotted on the chart.
|
|
1293
|
+
|
|
1294
|
+
This property returns the way that blank cells are plotted on a chart,
|
|
1295
|
+
such as not plotted (gaps), plotted as zero, or plotted as interpolated values.
|
|
1296
|
+
|
|
1297
|
+
Returns:
|
|
1298
|
+
ChartPlotEmptyType: The way blank cells are plotted on the chart.
|
|
1299
|
+
"""
|
|
1300
|
+
pass
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
@DisplayBlanksAs.setter
|
|
1304
|
+
@abc.abstractmethod
|
|
1305
|
+
def DisplayBlanksAs(self, value:'ChartPlotEmptyType'):
|
|
1306
|
+
"""Sets how blank cells are plotted on the chart.
|
|
1307
|
+
|
|
1308
|
+
This property sets the way that blank cells are plotted on a chart,
|
|
1309
|
+
such as not plotted (gaps), plotted as zero, or plotted as interpolated values.
|
|
1310
|
+
|
|
1311
|
+
Args:
|
|
1312
|
+
value (ChartPlotEmptyType): The way to plot blank cells on the chart.
|
|
1313
|
+
"""
|
|
1314
|
+
pass
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
@property
|
|
1318
|
+
@abc.abstractmethod
|
|
1319
|
+
def PlotVisibleOnly(self)->bool:
|
|
1320
|
+
"""Gets whether only visible cells are plotted in the chart.
|
|
1321
|
+
|
|
1322
|
+
When true, only visible cells are plotted in the chart.
|
|
1323
|
+
When false, both visible and hidden cells are plotted.
|
|
1324
|
+
This is useful when working with filtered data or hidden rows/columns.
|
|
1325
|
+
|
|
1326
|
+
Example::
|
|
1327
|
+
|
|
1328
|
+
#Create worksheet
|
|
1329
|
+
workbook = Workbook()
|
|
1330
|
+
worksheet = workbook.Worksheets[0]
|
|
1331
|
+
#Add data
|
|
1332
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
1333
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
1334
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
1335
|
+
worksheet.Range["A2"].Text = "10"
|
|
1336
|
+
worksheet.Range["B2"].Text = "20"
|
|
1337
|
+
worksheet.Range["C2"].Text = "30"
|
|
1338
|
+
#Hide column and create chart
|
|
1339
|
+
worksheet.Columns[2].ColumnWidth = 0
|
|
1340
|
+
chart = worksheet.Charts.Add()
|
|
1341
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
1342
|
+
#Set Plot visible only
|
|
1343
|
+
chart.PlotVisibleOnly = true
|
|
1344
|
+
#Save to file
|
|
1345
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
1346
|
+
|
|
1347
|
+
Returns:
|
|
1348
|
+
bool: True if only visible cells are plotted, False if both visible and hidden cells are plotted.
|
|
1349
|
+
"""
|
|
1350
|
+
pass
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
@PlotVisibleOnly.setter
|
|
1354
|
+
@abc.abstractmethod
|
|
1355
|
+
def PlotVisibleOnly(self, value:bool):
|
|
1356
|
+
"""Sets whether only visible cells are plotted in the chart.
|
|
1357
|
+
|
|
1358
|
+
When true, only visible cells are plotted in the chart.
|
|
1359
|
+
When false, both visible and hidden cells are plotted.
|
|
1360
|
+
This is useful when working with filtered data or hidden rows/columns.
|
|
1361
|
+
|
|
1362
|
+
Args:
|
|
1363
|
+
value (bool): True to plot only visible cells, False to plot both visible and hidden cells.
|
|
1364
|
+
"""
|
|
1365
|
+
pass
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
@property
|
|
1369
|
+
@abc.abstractmethod
|
|
1370
|
+
def SizeWithWindow(self)->bool:
|
|
1371
|
+
"""Gets whether the chart resizes with the window.
|
|
1372
|
+
|
|
1373
|
+
When true, Excel resizes the chart to match the size of the chart sheet window.
|
|
1374
|
+
When false, the chart size isn't attached to the window size.
|
|
1375
|
+
This property applies only to chart sheets, not embedded charts.
|
|
1376
|
+
|
|
1377
|
+
Returns:
|
|
1378
|
+
bool: True if the chart resizes with the window, otherwise False.
|
|
1379
|
+
"""
|
|
1380
|
+
pass
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
@SizeWithWindow.setter
|
|
1384
|
+
@abc.abstractmethod
|
|
1385
|
+
def SizeWithWindow(self, value:bool):
|
|
1386
|
+
"""Sets whether the chart resizes with the window.
|
|
1387
|
+
|
|
1388
|
+
When true, Excel resizes the chart to match the size of the chart sheet window.
|
|
1389
|
+
When false, the chart size isn't attached to the window size.
|
|
1390
|
+
This property applies only to chart sheets, not embedded charts.
|
|
1391
|
+
|
|
1392
|
+
Args:
|
|
1393
|
+
value (bool): True to resize the chart with the window, otherwise False.
|
|
1394
|
+
"""
|
|
1395
|
+
pass
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
@property
|
|
1399
|
+
@abc.abstractmethod
|
|
1400
|
+
def PivotTable(self)->'PivotTable':
|
|
1401
|
+
"""Gets the pivot table source for the chart.
|
|
1402
|
+
|
|
1403
|
+
This property returns the pivot table that provides the data for the chart.
|
|
1404
|
+
This is applicable only for pivot charts.
|
|
1405
|
+
|
|
1406
|
+
Returns:
|
|
1407
|
+
PivotTable: The pivot table source for the chart.
|
|
1408
|
+
"""
|
|
1409
|
+
pass
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
@PivotTable.setter
|
|
1413
|
+
@abc.abstractmethod
|
|
1414
|
+
def PivotTable(self, value:'PivotTable'):
|
|
1415
|
+
"""Sets the pivot table source for the chart.
|
|
1416
|
+
|
|
1417
|
+
This property sets the pivot table that provides the data for the chart.
|
|
1418
|
+
This is applicable only for pivot charts.
|
|
1419
|
+
|
|
1420
|
+
Args:
|
|
1421
|
+
value (PivotTable): The pivot table source to set for the chart.
|
|
1422
|
+
"""
|
|
1423
|
+
pass
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
@property
|
|
1427
|
+
@abc.abstractmethod
|
|
1428
|
+
def PivotChartType(self)->'ExcelChartType':
|
|
1429
|
+
"""Gets the chart type for the pivot chart.
|
|
1430
|
+
|
|
1431
|
+
This property returns the chart type used for the pivot chart,
|
|
1432
|
+
such as column, bar, line, pie, etc. This is applicable only for pivot charts.
|
|
1433
|
+
|
|
1434
|
+
Returns:
|
|
1435
|
+
ExcelChartType: The chart type for the pivot chart.
|
|
1436
|
+
"""
|
|
1437
|
+
pass
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
@PivotChartType.setter
|
|
1441
|
+
@abc.abstractmethod
|
|
1442
|
+
def PivotChartType(self, value:'ExcelChartType'):
|
|
1443
|
+
"""Sets the chart type for the pivot chart.
|
|
1444
|
+
|
|
1445
|
+
This property sets the chart type used for the pivot chart,
|
|
1446
|
+
such as column, bar, line, pie, etc. This is applicable only for pivot charts.
|
|
1447
|
+
|
|
1448
|
+
Args:
|
|
1449
|
+
value (ExcelChartType): The chart type to set for the pivot chart.
|
|
1450
|
+
"""
|
|
1451
|
+
pass
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
@property
|
|
1455
|
+
@abc.abstractmethod
|
|
1456
|
+
def DisplayEntireFieldButtons(self)->bool:
|
|
1457
|
+
"""Gets whether all field buttons are displayed in the pivot chart.
|
|
1458
|
+
|
|
1459
|
+
When true, all field buttons are displayed in the pivot chart.
|
|
1460
|
+
Field buttons allow users to interactively filter and manipulate the pivot chart.
|
|
1461
|
+
This is applicable only for pivot charts.
|
|
1462
|
+
|
|
1463
|
+
Returns:
|
|
1464
|
+
bool: True if all field buttons are displayed, otherwise False.
|
|
1465
|
+
"""
|
|
1466
|
+
pass
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
@DisplayEntireFieldButtons.setter
|
|
1470
|
+
@abc.abstractmethod
|
|
1471
|
+
def DisplayEntireFieldButtons(self, value:bool):
|
|
1472
|
+
"""Sets whether all field buttons are displayed in the pivot chart.
|
|
1473
|
+
|
|
1474
|
+
When true, all field buttons are displayed in the pivot chart.
|
|
1475
|
+
Field buttons allow users to interactively filter and manipulate the pivot chart.
|
|
1476
|
+
This is applicable only for pivot charts.
|
|
1477
|
+
|
|
1478
|
+
Args:
|
|
1479
|
+
value (bool): True to display all field buttons, otherwise False.
|
|
1480
|
+
"""
|
|
1481
|
+
pass
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
@property
|
|
1485
|
+
@abc.abstractmethod
|
|
1486
|
+
def DisplayValueFieldButtons(self)->bool:
|
|
1487
|
+
"""Gets whether value field buttons are displayed in the pivot chart.
|
|
1488
|
+
|
|
1489
|
+
When true, value field buttons are displayed in the pivot chart.
|
|
1490
|
+
Value field buttons allow users to interactively select which values to display in the pivot chart.
|
|
1491
|
+
This is applicable only for pivot charts.
|
|
1492
|
+
|
|
1493
|
+
Returns:
|
|
1494
|
+
bool: True if value field buttons are displayed, otherwise False.
|
|
1495
|
+
"""
|
|
1496
|
+
pass
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
@DisplayValueFieldButtons.setter
|
|
1500
|
+
@abc.abstractmethod
|
|
1501
|
+
def DisplayValueFieldButtons(self, value:bool):
|
|
1502
|
+
"""Sets whether value field buttons are displayed in the pivot chart.
|
|
1503
|
+
|
|
1504
|
+
When true, value field buttons are displayed in the pivot chart.
|
|
1505
|
+
Value field buttons allow users to interactively select which values to display in the pivot chart.
|
|
1506
|
+
This is applicable only for pivot charts.
|
|
1507
|
+
|
|
1508
|
+
Args:
|
|
1509
|
+
value (bool): True to display value field buttons, otherwise False.
|
|
1510
|
+
"""
|
|
1511
|
+
pass
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
@property
|
|
1515
|
+
@abc.abstractmethod
|
|
1516
|
+
def DisplayAxisFieldButtons(self)->bool:
|
|
1517
|
+
"""Gets whether axis field buttons are displayed in the pivot chart.
|
|
1518
|
+
|
|
1519
|
+
When true, axis field buttons are displayed in the pivot chart.
|
|
1520
|
+
Axis field buttons allow users to interactively select which fields to display on the axes.
|
|
1521
|
+
This is applicable only for pivot charts.
|
|
1522
|
+
|
|
1523
|
+
Returns:
|
|
1524
|
+
bool: True if axis field buttons are displayed, otherwise False.
|
|
1525
|
+
"""
|
|
1526
|
+
pass
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
@DisplayAxisFieldButtons.setter
|
|
1530
|
+
@abc.abstractmethod
|
|
1531
|
+
def DisplayAxisFieldButtons(self, value:bool):
|
|
1532
|
+
"""Sets whether axis field buttons are displayed in the pivot chart.
|
|
1533
|
+
|
|
1534
|
+
When true, axis field buttons are displayed in the pivot chart.
|
|
1535
|
+
Axis field buttons allow users to interactively select which fields to display on the axes.
|
|
1536
|
+
This is applicable only for pivot charts.
|
|
1537
|
+
|
|
1538
|
+
Args:
|
|
1539
|
+
value (bool): True to display axis field buttons, otherwise False.
|
|
1540
|
+
"""
|
|
1541
|
+
pass
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
@property
|
|
1545
|
+
@abc.abstractmethod
|
|
1546
|
+
def DisplayLegendFieldButtons(self)->bool:
|
|
1547
|
+
"""Gets whether legend field buttons are displayed in the pivot chart.
|
|
1548
|
+
|
|
1549
|
+
When true, legend field buttons are displayed in the pivot chart.
|
|
1550
|
+
Legend field buttons allow users to interactively select which fields to display in the legend.
|
|
1551
|
+
This is applicable only for pivot charts.
|
|
1552
|
+
|
|
1553
|
+
Returns:
|
|
1554
|
+
bool: True if legend field buttons are displayed, otherwise False.
|
|
1555
|
+
"""
|
|
1556
|
+
pass
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
@DisplayLegendFieldButtons.setter
|
|
1560
|
+
@abc.abstractmethod
|
|
1561
|
+
def DisplayLegendFieldButtons(self, value:bool):
|
|
1562
|
+
"""Sets whether legend field buttons are displayed in the pivot chart.
|
|
1563
|
+
|
|
1564
|
+
When true, legend field buttons are displayed in the pivot chart.
|
|
1565
|
+
Legend field buttons allow users to interactively select which fields to display in the legend.
|
|
1566
|
+
This is applicable only for pivot charts.
|
|
1567
|
+
|
|
1568
|
+
Args:
|
|
1569
|
+
value (bool): True to display legend field buttons, otherwise False.
|
|
1570
|
+
"""
|
|
1571
|
+
pass
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
@property
|
|
1575
|
+
@abc.abstractmethod
|
|
1576
|
+
def ShowReportFilterFieldButtons(self)->bool:
|
|
1577
|
+
"""Gets whether report filter field buttons are displayed in the pivot chart.
|
|
1578
|
+
|
|
1579
|
+
When true, report filter field buttons are displayed in the pivot chart.
|
|
1580
|
+
Report filter field buttons allow users to interactively filter the data displayed in the pivot chart.
|
|
1581
|
+
This is applicable only for pivot charts.
|
|
1582
|
+
|
|
1583
|
+
Returns:
|
|
1584
|
+
bool: True if report filter field buttons are displayed, otherwise False.
|
|
1585
|
+
"""
|
|
1586
|
+
pass
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
@ShowReportFilterFieldButtons.setter
|
|
1590
|
+
@abc.abstractmethod
|
|
1591
|
+
def ShowReportFilterFieldButtons(self, value:bool):
|
|
1592
|
+
"""
|
|
1593
|
+
|
|
1594
|
+
"""
|
|
1595
|
+
pass
|
|
1596
|
+
|
|
1597
|
+
|