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,786 @@
|
|
|
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 IChartAxis (abc.ABC) :
|
|
10
|
+
"""Chart axis interface for Excel charts.
|
|
11
|
+
|
|
12
|
+
This interface represents a chart axis in Excel. It provides properties and methods
|
|
13
|
+
to customize the appearance and behavior of chart axes, including formatting options,
|
|
14
|
+
gridlines, tick marks, and text display settings.
|
|
15
|
+
|
|
16
|
+
The IChartAxis serves as the base interface for more specific axis types like
|
|
17
|
+
IChartValueAxis and IChartCategoryAxis.
|
|
18
|
+
"""
|
|
19
|
+
@property
|
|
20
|
+
@abc.abstractmethod
|
|
21
|
+
def NumberFormat(self)->str:
|
|
22
|
+
"""Gets the number format string for the axis labels.
|
|
23
|
+
|
|
24
|
+
This property returns the format code that Excel uses to format numbers on the axis.
|
|
25
|
+
Format codes are the same as those used in the Format Cells dialog box in Excel.
|
|
26
|
+
|
|
27
|
+
Example::
|
|
28
|
+
|
|
29
|
+
#Create worksheet
|
|
30
|
+
workbook = Workbook()
|
|
31
|
+
worksheet = workbook.Worksheets[0]
|
|
32
|
+
#Add data
|
|
33
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
34
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
35
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
36
|
+
worksheet.Range["A2"].Text = "10000"
|
|
37
|
+
worksheet.Range["B2"].Text = "20000"
|
|
38
|
+
worksheet.Range["C2"].Text = "30000"
|
|
39
|
+
#Create chart and set range
|
|
40
|
+
chart = worksheet.Charts.Add()
|
|
41
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
42
|
+
#Set chart value axis
|
|
43
|
+
chartAxis = chart.PrimaryValueAxis
|
|
44
|
+
#Set number format
|
|
45
|
+
chartAxis.NumberFormat = @"$#,#0_);($#,#0)"
|
|
46
|
+
#Save to file
|
|
47
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
48
|
+
|
|
49
|
+
Returns:
|
|
50
|
+
str: The number format string for the axis labels.
|
|
51
|
+
"""
|
|
52
|
+
pass
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
@NumberFormat.setter
|
|
56
|
+
@abc.abstractmethod
|
|
57
|
+
def NumberFormat(self, value:str):
|
|
58
|
+
"""Sets the number format string for the axis labels.
|
|
59
|
+
|
|
60
|
+
This property sets the format code that Excel uses to format numbers on the axis.
|
|
61
|
+
Format codes are the same as those used in the Format Cells dialog box in Excel.
|
|
62
|
+
|
|
63
|
+
Args:
|
|
64
|
+
value (str): The number format string to apply to the axis labels.
|
|
65
|
+
"""
|
|
66
|
+
pass
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@abc.abstractmethod
|
|
71
|
+
def AxisType(self)->'AxisType':
|
|
72
|
+
"""Gets the type of the axis.
|
|
73
|
+
|
|
74
|
+
This property returns the type of the axis, which can be a category axis,
|
|
75
|
+
value axis, or series axis. This is a read-only property.
|
|
76
|
+
|
|
77
|
+
Example::
|
|
78
|
+
|
|
79
|
+
#Create worksheet
|
|
80
|
+
workbook = Workbook()
|
|
81
|
+
worksheet = workbook.Worksheets[0]
|
|
82
|
+
#Add data
|
|
83
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
84
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
85
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
86
|
+
worksheet.Range["A2"].Text = "10000"
|
|
87
|
+
worksheet.Range["B2"].Text = "20000"
|
|
88
|
+
worksheet.Range["C2"].Text = "30000"
|
|
89
|
+
#Create chart and set range
|
|
90
|
+
chart = worksheet.Charts.Add()
|
|
91
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
92
|
+
#Set chart value axis
|
|
93
|
+
chartAxis = chart.PrimaryValueAxis
|
|
94
|
+
#Get axis type
|
|
95
|
+
print(chartAxis.AxisType)
|
|
96
|
+
#Save to file
|
|
97
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
98
|
+
|
|
99
|
+
Returns:
|
|
100
|
+
AxisType: The type of the axis.
|
|
101
|
+
"""
|
|
102
|
+
pass
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
@abc.abstractmethod
|
|
107
|
+
def Title(self)->str:
|
|
108
|
+
"""Gets the title text of the axis.
|
|
109
|
+
|
|
110
|
+
This property returns the text displayed as the title for the axis.
|
|
111
|
+
|
|
112
|
+
Example::
|
|
113
|
+
|
|
114
|
+
#Create worksheet
|
|
115
|
+
workbook = Workbook()
|
|
116
|
+
worksheet = workbook.Worksheets[0]
|
|
117
|
+
#Add data
|
|
118
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
119
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
120
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
121
|
+
worksheet.Range["A2"].Text = "10"
|
|
122
|
+
worksheet.Range["B2"].Text = "20"
|
|
123
|
+
worksheet.Range["C2"].Text = "30"
|
|
124
|
+
#Create chart and set range
|
|
125
|
+
chart = worksheet.Charts.Add()
|
|
126
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
127
|
+
#Set chart category axis
|
|
128
|
+
categoryAxis = chart.PrimaryCategoryAxis
|
|
129
|
+
#Set category title
|
|
130
|
+
categoryAxis.Title = "Categories"
|
|
131
|
+
#Save to file
|
|
132
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
133
|
+
|
|
134
|
+
Returns:
|
|
135
|
+
str: The title text of the axis.
|
|
136
|
+
"""
|
|
137
|
+
pass
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
@Title.setter
|
|
141
|
+
@abc.abstractmethod
|
|
142
|
+
def Title(self, value:str):
|
|
143
|
+
"""Sets the title text of the axis.
|
|
144
|
+
|
|
145
|
+
This property sets the text displayed as the title for the axis.
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
value (str): The title text to set for the axis.
|
|
149
|
+
"""
|
|
150
|
+
pass
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
@abc.abstractmethod
|
|
155
|
+
def TextRotationAngle(self)->int:
|
|
156
|
+
"""Gets the rotation angle of the axis text labels.
|
|
157
|
+
|
|
158
|
+
This property specifies the angle of rotation for the text in the axis labels.
|
|
159
|
+
The value should be an integer between -90 and 90 degrees, where positive values
|
|
160
|
+
rotate the text upward and negative values rotate the text downward.
|
|
161
|
+
|
|
162
|
+
Example::
|
|
163
|
+
|
|
164
|
+
#Create worksheet
|
|
165
|
+
workbook = Workbook()
|
|
166
|
+
worksheet = workbook.Worksheets[0]
|
|
167
|
+
#Add data
|
|
168
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
169
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
170
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
171
|
+
worksheet.Range["A2"].Text = "10"
|
|
172
|
+
worksheet.Range["B2"].Text = "20"
|
|
173
|
+
worksheet.Range["C2"].Text = "30"
|
|
174
|
+
#Create chart and set range
|
|
175
|
+
chart = worksheet.Charts.Add()
|
|
176
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
177
|
+
#Set chart category axis
|
|
178
|
+
chartAxis = chart.PrimaryCategoryAxis
|
|
179
|
+
#Set text rotation angle
|
|
180
|
+
chartAxis.TextRotationAngle = 90
|
|
181
|
+
#Save to file
|
|
182
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
183
|
+
|
|
184
|
+
Returns:
|
|
185
|
+
int: The rotation angle of the axis text labels, between -90 and 90 degrees.
|
|
186
|
+
"""
|
|
187
|
+
pass
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
@TextRotationAngle.setter
|
|
191
|
+
@abc.abstractmethod
|
|
192
|
+
def TextRotationAngle(self, value:int):
|
|
193
|
+
"""Sets the rotation angle of the axis text labels.
|
|
194
|
+
|
|
195
|
+
This property specifies the angle of rotation for the text in the axis labels.
|
|
196
|
+
The value should be an integer between -90 and 90 degrees, where positive values
|
|
197
|
+
rotate the text upward and negative values rotate the text downward.
|
|
198
|
+
|
|
199
|
+
Args:
|
|
200
|
+
value (int): The rotation angle to set, between -90 and 90 degrees.
|
|
201
|
+
"""
|
|
202
|
+
pass
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
@abc.abstractmethod
|
|
207
|
+
def TitleArea(self)->'IChartTextArea':
|
|
208
|
+
"""Gets the text area object for the axis title.
|
|
209
|
+
|
|
210
|
+
This property returns the text area object that represents the axis title,
|
|
211
|
+
allowing you to format the title's appearance including font, color, and borders.
|
|
212
|
+
This is a read-only property.
|
|
213
|
+
|
|
214
|
+
Example::
|
|
215
|
+
|
|
216
|
+
#Create worksheet
|
|
217
|
+
workbook = Workbook()
|
|
218
|
+
worksheet = workbook.Worksheets[0]
|
|
219
|
+
#Add data
|
|
220
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
221
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
222
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
223
|
+
worksheet.Range["A2"].Text = "10"
|
|
224
|
+
worksheet.Range["B2"].Text = "20"
|
|
225
|
+
worksheet.Range["C2"].Text = "30"
|
|
226
|
+
#Create chart and set range
|
|
227
|
+
chart = worksheet.Charts.Add()
|
|
228
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
229
|
+
#Set chart category axis
|
|
230
|
+
categoryAxis = chart.PrimaryCategoryAxis
|
|
231
|
+
#Set category title
|
|
232
|
+
categoryAxis.Title = "Categories"
|
|
233
|
+
#Set title area
|
|
234
|
+
titleArea = categoryAxis.TitleArea
|
|
235
|
+
#Set color
|
|
236
|
+
titleArea.FrameFormat.Fill.ForeKnownColor = ExcelColors.Red
|
|
237
|
+
#Save to file
|
|
238
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
239
|
+
|
|
240
|
+
Returns:
|
|
241
|
+
IChartTextArea: The text area object for the axis title.
|
|
242
|
+
"""
|
|
243
|
+
pass
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
@abc.abstractmethod
|
|
248
|
+
def Font(self)->'IFont':
|
|
249
|
+
"""Gets the font object for the axis labels.
|
|
250
|
+
|
|
251
|
+
This property returns the font object that represents the font used for the axis labels,
|
|
252
|
+
allowing you to format the font properties such as name, size, color, and style.
|
|
253
|
+
|
|
254
|
+
Returns:
|
|
255
|
+
IFont: The font object for the axis labels.
|
|
256
|
+
"""
|
|
257
|
+
pass
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
@property
|
|
261
|
+
@abc.abstractmethod
|
|
262
|
+
def MajorGridLines(self)->'IChartGridLine':
|
|
263
|
+
"""Gets the major gridlines object for the axis.
|
|
264
|
+
|
|
265
|
+
This property returns the gridlines object that represents the major gridlines for the axis,
|
|
266
|
+
allowing you to format their appearance or hide them.
|
|
267
|
+
|
|
268
|
+
Example::
|
|
269
|
+
|
|
270
|
+
#Create worksheet
|
|
271
|
+
workbook = Workbook()
|
|
272
|
+
worksheet = workbook.Worksheets[0]
|
|
273
|
+
#Add data
|
|
274
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
275
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
276
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
277
|
+
worksheet.Range["A2"].Text = "10"
|
|
278
|
+
worksheet.Range["B2"].Text = "20"
|
|
279
|
+
worksheet.Range["C2"].Text = "30"
|
|
280
|
+
#Create chart and set range
|
|
281
|
+
chart = worksheet.Charts.Add()
|
|
282
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
283
|
+
#Set chart axis
|
|
284
|
+
chartAxis = chart.PrimaryCategoryAxis
|
|
285
|
+
#Set visibility
|
|
286
|
+
chartAxis.HasMajorGridLines = true
|
|
287
|
+
#Set grid lines
|
|
288
|
+
gridLine = chartAxis.MajorGridLines
|
|
289
|
+
gridLine.LineProperties.Color = Color.Red
|
|
290
|
+
#Save to file
|
|
291
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
292
|
+
|
|
293
|
+
Returns:
|
|
294
|
+
IChartGridLine: The major gridlines object for the axis.
|
|
295
|
+
"""
|
|
296
|
+
pass
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
@property
|
|
300
|
+
@abc.abstractmethod
|
|
301
|
+
def MinorGridLines(self)->'IChartGridLine':
|
|
302
|
+
"""Gets the minor gridlines object for the axis.
|
|
303
|
+
|
|
304
|
+
This property returns the gridlines object that represents the minor gridlines for the axis,
|
|
305
|
+
allowing you to format their appearance or hide them.
|
|
306
|
+
|
|
307
|
+
Example::
|
|
308
|
+
|
|
309
|
+
#Create worksheet
|
|
310
|
+
workbook = Workbook()
|
|
311
|
+
worksheet = workbook.Worksheets[0]
|
|
312
|
+
#Add data
|
|
313
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
314
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
315
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
316
|
+
worksheet.Range["A2"].Text = "10"
|
|
317
|
+
worksheet.Range["B2"].Text = "20"
|
|
318
|
+
worksheet.Range["C2"].Text = "30"
|
|
319
|
+
#Create chart and set range
|
|
320
|
+
chart = worksheet.Charts.Add()
|
|
321
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
322
|
+
#Set chart axis
|
|
323
|
+
chartAxis = chart.PrimaryCategoryAxis
|
|
324
|
+
#Set visibility
|
|
325
|
+
chartAxis.HasMinorGridLines = true
|
|
326
|
+
#Set grid lines
|
|
327
|
+
gridLine = chartAxis.MinorGridLines
|
|
328
|
+
gridLine.LineProperties.Color = Color.Red
|
|
329
|
+
#Save to file
|
|
330
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
331
|
+
|
|
332
|
+
Returns:
|
|
333
|
+
IChartGridLine: The minor gridlines object for the axis.
|
|
334
|
+
"""
|
|
335
|
+
pass
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
@abc.abstractmethod
|
|
340
|
+
def HasMinorGridLines(self)->bool:
|
|
341
|
+
"""Gets whether the axis displays minor gridlines.
|
|
342
|
+
|
|
343
|
+
This property indicates whether minor gridlines are displayed for the axis.
|
|
344
|
+
Minor gridlines are the lighter lines that appear between the major gridlines.
|
|
345
|
+
|
|
346
|
+
Example::
|
|
347
|
+
|
|
348
|
+
#Create worksheet
|
|
349
|
+
workbook = Workbook()
|
|
350
|
+
worksheet = workbook.Worksheets[0]
|
|
351
|
+
#Add data
|
|
352
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
353
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
354
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
355
|
+
worksheet.Range["A2"].Text = "10"
|
|
356
|
+
worksheet.Range["B2"].Text = "20"
|
|
357
|
+
worksheet.Range["C2"].Text = "30"
|
|
358
|
+
#Create chart and set range
|
|
359
|
+
chart = worksheet.Charts.Add()
|
|
360
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
361
|
+
#Set chart axis
|
|
362
|
+
chartAxis = chart.PrimaryCategoryAxis
|
|
363
|
+
#Set visibility
|
|
364
|
+
chartAxis.HasMinorGridLines = true
|
|
365
|
+
#Save to file
|
|
366
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
367
|
+
|
|
368
|
+
Returns:
|
|
369
|
+
bool: True if the axis displays minor gridlines, otherwise False.
|
|
370
|
+
"""
|
|
371
|
+
pass
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
@HasMinorGridLines.setter
|
|
375
|
+
@abc.abstractmethod
|
|
376
|
+
def HasMinorGridLines(self, value:bool):
|
|
377
|
+
"""Sets whether the axis displays minor gridlines.
|
|
378
|
+
|
|
379
|
+
This property controls whether minor gridlines are displayed for the axis.
|
|
380
|
+
Minor gridlines are the lighter lines that appear between the major gridlines.
|
|
381
|
+
|
|
382
|
+
Args:
|
|
383
|
+
value (bool): True to display minor gridlines, otherwise False.
|
|
384
|
+
"""
|
|
385
|
+
pass
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
@property
|
|
389
|
+
@abc.abstractmethod
|
|
390
|
+
def HasMajorGridLines(self)->bool:
|
|
391
|
+
"""Gets whether the axis displays major gridlines.
|
|
392
|
+
|
|
393
|
+
This property indicates whether major gridlines are displayed for the axis.
|
|
394
|
+
Major gridlines are the primary lines that correspond to the major tick marks on the axis.
|
|
395
|
+
|
|
396
|
+
Example::
|
|
397
|
+
|
|
398
|
+
#Create worksheet
|
|
399
|
+
workbook = Workbook()
|
|
400
|
+
worksheet = workbook.Worksheets[0]
|
|
401
|
+
#Add data
|
|
402
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
403
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
404
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
405
|
+
worksheet.Range["A2"].Text = "10"
|
|
406
|
+
worksheet.Range["B2"].Text = "20"
|
|
407
|
+
worksheet.Range["C2"].Text = "30"
|
|
408
|
+
#Create chart and set range
|
|
409
|
+
chart = worksheet.Charts.Add()
|
|
410
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
411
|
+
#Set chart axis
|
|
412
|
+
chartAxis = chart.PrimaryCategoryAxis
|
|
413
|
+
#Set visibility
|
|
414
|
+
chartAxis.HasMajorGridLines = true
|
|
415
|
+
#Save to file
|
|
416
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
417
|
+
|
|
418
|
+
Returns:
|
|
419
|
+
bool: True if the axis displays major gridlines, otherwise False.
|
|
420
|
+
"""
|
|
421
|
+
pass
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
@HasMajorGridLines.setter
|
|
425
|
+
@abc.abstractmethod
|
|
426
|
+
def HasMajorGridLines(self, value:bool):
|
|
427
|
+
"""Sets whether the axis displays major gridlines.
|
|
428
|
+
|
|
429
|
+
This property controls whether major gridlines are displayed for the axis.
|
|
430
|
+
Major gridlines are the primary lines that correspond to the major tick marks on the axis.
|
|
431
|
+
|
|
432
|
+
Args:
|
|
433
|
+
value (bool): True to display major gridlines, otherwise False.
|
|
434
|
+
"""
|
|
435
|
+
pass
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
@property
|
|
439
|
+
@abc.abstractmethod
|
|
440
|
+
def MinorTickMark(self)->'TickMarkType':
|
|
441
|
+
"""Gets the type of minor tick marks for the axis.
|
|
442
|
+
|
|
443
|
+
This property returns the type of minor tick marks displayed on the axis,
|
|
444
|
+
such as inside, outside, cross, or none.
|
|
445
|
+
|
|
446
|
+
Example::
|
|
447
|
+
|
|
448
|
+
#Create worksheet
|
|
449
|
+
workbook = Workbook()
|
|
450
|
+
worksheet = workbook.Worksheets[0]
|
|
451
|
+
#Add data
|
|
452
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
453
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
454
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
455
|
+
worksheet.Range["A2"].Text = "10"
|
|
456
|
+
worksheet.Range["B2"].Text = "20"
|
|
457
|
+
worksheet.Range["C2"].Text = "30"
|
|
458
|
+
#Create chart and set range
|
|
459
|
+
chart = worksheet.Charts.Add()
|
|
460
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
461
|
+
#Set chart category axis
|
|
462
|
+
categoryAxis = chart.PrimaryCategoryAxis
|
|
463
|
+
#Set category minor tick type
|
|
464
|
+
categoryAxis.MinorTickMark = TickMarkType.TickMarkCross
|
|
465
|
+
#Save to file
|
|
466
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
467
|
+
|
|
468
|
+
Returns:
|
|
469
|
+
TickMarkType: The type of minor tick marks for the axis.
|
|
470
|
+
"""
|
|
471
|
+
pass
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
@MinorTickMark.setter
|
|
475
|
+
@abc.abstractmethod
|
|
476
|
+
def MinorTickMark(self, value:'TickMarkType'):
|
|
477
|
+
"""Sets the type of minor tick marks for the axis.
|
|
478
|
+
|
|
479
|
+
This property sets the type of minor tick marks displayed on the axis,
|
|
480
|
+
such as inside, outside, cross, or none.
|
|
481
|
+
|
|
482
|
+
Args:
|
|
483
|
+
value (TickMarkType): The type of minor tick marks to display.
|
|
484
|
+
"""
|
|
485
|
+
pass
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
@abc.abstractmethod
|
|
490
|
+
def MajorTickMark(self)->'TickMarkType':
|
|
491
|
+
"""Gets the type of major tick marks for the axis.
|
|
492
|
+
|
|
493
|
+
This property returns the type of major tick marks displayed on the axis,
|
|
494
|
+
such as inside, outside, cross, or none.
|
|
495
|
+
|
|
496
|
+
Example::
|
|
497
|
+
|
|
498
|
+
#Create worksheet
|
|
499
|
+
workbook = Workbook()
|
|
500
|
+
worksheet = workbook.Worksheets[0]
|
|
501
|
+
#Add data
|
|
502
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
503
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
504
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
505
|
+
worksheet.Range["A2"].Text = "10"
|
|
506
|
+
worksheet.Range["B2"].Text = "20"
|
|
507
|
+
worksheet.Range["C2"].Text = "30"
|
|
508
|
+
#Create chart and set range
|
|
509
|
+
chart = worksheet.Charts.Add()
|
|
510
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
511
|
+
#Set chart category axis
|
|
512
|
+
categoryAxis = chart.PrimaryCategoryAxis
|
|
513
|
+
#Set category minor tick type
|
|
514
|
+
categoryAxis.MajorTickMark = TickMarkType.TickMarkCross
|
|
515
|
+
#Save to file
|
|
516
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
517
|
+
|
|
518
|
+
Returns:
|
|
519
|
+
TickMarkType: The type of major tick marks for the axis.
|
|
520
|
+
"""
|
|
521
|
+
pass
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
@MajorTickMark.setter
|
|
525
|
+
@abc.abstractmethod
|
|
526
|
+
def MajorTickMark(self, value:'TickMarkType'):
|
|
527
|
+
"""Sets the type of major tick marks for the axis.
|
|
528
|
+
|
|
529
|
+
This property sets the type of major tick marks displayed on the axis,
|
|
530
|
+
such as inside, outside, cross, or none.
|
|
531
|
+
|
|
532
|
+
Args:
|
|
533
|
+
value (TickMarkType): The type of major tick marks to display.
|
|
534
|
+
"""
|
|
535
|
+
pass
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
@abc.abstractmethod
|
|
540
|
+
def Border(self)->'ChartBorder':
|
|
541
|
+
"""Gets the border object for the axis.
|
|
542
|
+
|
|
543
|
+
This property returns the border object that represents the line of the axis itself,
|
|
544
|
+
allowing you to format its appearance including color, style, and weight.
|
|
545
|
+
|
|
546
|
+
Example::
|
|
547
|
+
|
|
548
|
+
#Create worksheet
|
|
549
|
+
workbook = Workbook()
|
|
550
|
+
worksheet = workbook.Worksheets[0]
|
|
551
|
+
#Add data
|
|
552
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
553
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
554
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
555
|
+
worksheet.Range["A2"].Text = "10"
|
|
556
|
+
worksheet.Range["B2"].Text = "20"
|
|
557
|
+
worksheet.Range["C2"].Text = "30"
|
|
558
|
+
#Create chart and set range
|
|
559
|
+
chart = worksheet.Charts.Add()
|
|
560
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
561
|
+
#Set chart value axis
|
|
562
|
+
valueAxis = chart.PrimaryValueAxis
|
|
563
|
+
#Set axis border
|
|
564
|
+
valueAxis.Border.Color = Color.Red
|
|
565
|
+
valueAxis.Border.Weight = BorderWeight.Medium
|
|
566
|
+
#Save to file
|
|
567
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
568
|
+
|
|
569
|
+
Returns:
|
|
570
|
+
ChartBorder: The border object for the axis.
|
|
571
|
+
"""
|
|
572
|
+
pass
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
@property
|
|
576
|
+
@abc.abstractmethod
|
|
577
|
+
def TickLabelPosition(self)->'TickLabelPositionType':
|
|
578
|
+
"""Gets the position of the tick labels on the axis.
|
|
579
|
+
|
|
580
|
+
This property returns the position of the tick labels relative to the axis,
|
|
581
|
+
such as high, low, next to the axis, or none.
|
|
582
|
+
|
|
583
|
+
Example::
|
|
584
|
+
|
|
585
|
+
#Create worksheet
|
|
586
|
+
workbook = Workbook()
|
|
587
|
+
worksheet = workbook.Worksheets[0]
|
|
588
|
+
#Add data
|
|
589
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
590
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
591
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
592
|
+
worksheet.Range["A2"].Text = "10"
|
|
593
|
+
worksheet.Range["B2"].Text = "20"
|
|
594
|
+
worksheet.Range["C2"].Text = "30"
|
|
595
|
+
#Create chart and set range
|
|
596
|
+
chart = worksheet.Charts.Add()
|
|
597
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
598
|
+
#Set chart category axis
|
|
599
|
+
categoryAxis = chart.PrimaryCategoryAxis
|
|
600
|
+
#Set category tick labels position
|
|
601
|
+
categoryAxis.TickLabelPosition = TickLabelPositionType.TickLabelPositionHigh
|
|
602
|
+
#Save to file
|
|
603
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
604
|
+
|
|
605
|
+
Returns:
|
|
606
|
+
TickLabelPositionType: The position of the tick labels on the axis.
|
|
607
|
+
"""
|
|
608
|
+
pass
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
@TickLabelPosition.setter
|
|
612
|
+
@abc.abstractmethod
|
|
613
|
+
def TickLabelPosition(self, value:'TickLabelPositionType'):
|
|
614
|
+
"""Sets the position of the tick labels on the axis.
|
|
615
|
+
|
|
616
|
+
This property sets the position of the tick labels relative to the axis,
|
|
617
|
+
such as high, low, next to the axis, or none.
|
|
618
|
+
|
|
619
|
+
Args:
|
|
620
|
+
value (TickLabelPositionType): The position to place the tick labels.
|
|
621
|
+
"""
|
|
622
|
+
pass
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
@property
|
|
626
|
+
@abc.abstractmethod
|
|
627
|
+
def Visible(self)->bool:
|
|
628
|
+
"""Gets whether the axis is visible.
|
|
629
|
+
|
|
630
|
+
This property indicates whether the axis is displayed in the chart.
|
|
631
|
+
When set to False, the axis and its labels are hidden.
|
|
632
|
+
|
|
633
|
+
Example::
|
|
634
|
+
|
|
635
|
+
#Create worksheet
|
|
636
|
+
workbook = Workbook()
|
|
637
|
+
worksheet = workbook.Worksheets[0]
|
|
638
|
+
#Add data
|
|
639
|
+
worksheet.Range["A1"].Text = "Jan"
|
|
640
|
+
worksheet.Range["B1"].Text = "Feb"
|
|
641
|
+
worksheet.Range["C1"].Text = "Mar"
|
|
642
|
+
worksheet.Range["A2"].Text = "10"
|
|
643
|
+
worksheet.Range["B2"].Text = "20"
|
|
644
|
+
worksheet.Range["C2"].Text = "30"
|
|
645
|
+
#Create chart and set range
|
|
646
|
+
chart = worksheet.Charts.Add()
|
|
647
|
+
chart.DataRange = worksheet.Range["A1:C2"]
|
|
648
|
+
#Set chart axis
|
|
649
|
+
chartAxis = chart.PrimaryCategoryAxis
|
|
650
|
+
#Set visibility
|
|
651
|
+
chartAxis.Visible = false
|
|
652
|
+
#Save to file
|
|
653
|
+
workbook.SaveToFile("Chart.xlsx")
|
|
654
|
+
|
|
655
|
+
Returns:
|
|
656
|
+
bool: True if the axis is visible, otherwise False.
|
|
657
|
+
"""
|
|
658
|
+
pass
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
@Visible.setter
|
|
662
|
+
@abc.abstractmethod
|
|
663
|
+
def Visible(self, value:bool):
|
|
664
|
+
"""Sets whether the axis is visible.
|
|
665
|
+
|
|
666
|
+
This property controls whether the axis is displayed in the chart.
|
|
667
|
+
When set to False, the axis and its labels are hidden.
|
|
668
|
+
|
|
669
|
+
Args:
|
|
670
|
+
value (bool): True to make the axis visible, otherwise False.
|
|
671
|
+
"""
|
|
672
|
+
pass
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
@property
|
|
676
|
+
@abc.abstractmethod
|
|
677
|
+
def Alignment(self)->'AxisTextDirectionType':
|
|
678
|
+
"""Gets the text alignment for the axis labels.
|
|
679
|
+
|
|
680
|
+
This property returns the text direction and alignment for the axis labels,
|
|
681
|
+
such as horizontal, vertical, or rotated.
|
|
682
|
+
|
|
683
|
+
Returns:
|
|
684
|
+
AxisTextDirectionType: The text alignment for the axis labels.
|
|
685
|
+
"""
|
|
686
|
+
pass
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
@Alignment.setter
|
|
690
|
+
@abc.abstractmethod
|
|
691
|
+
def Alignment(self, value:'AxisTextDirectionType'):
|
|
692
|
+
"""Sets the text alignment for the axis labels.
|
|
693
|
+
|
|
694
|
+
This property sets the text direction and alignment for the axis labels,
|
|
695
|
+
such as horizontal, vertical, or rotated.
|
|
696
|
+
|
|
697
|
+
Args:
|
|
698
|
+
value (AxisTextDirectionType): The text alignment to set for the axis labels.
|
|
699
|
+
"""
|
|
700
|
+
pass
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
@property
|
|
704
|
+
@abc.abstractmethod
|
|
705
|
+
def Shadow(self)->'ChartShadow':
|
|
706
|
+
"""Gets the shadow object for the axis.
|
|
707
|
+
|
|
708
|
+
This property returns the shadow object that represents the shadow effect applied to the axis,
|
|
709
|
+
allowing you to format the shadow's appearance.
|
|
710
|
+
|
|
711
|
+
Returns:
|
|
712
|
+
ChartShadow: The shadow object for the axis.
|
|
713
|
+
"""
|
|
714
|
+
pass
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
@property
|
|
718
|
+
@abc.abstractmethod
|
|
719
|
+
def Chart3DOptions(self)->'IFormat3D':
|
|
720
|
+
"""Gets the 3D format properties for the axis.
|
|
721
|
+
|
|
722
|
+
This property returns the 3D format object that represents the three-dimensional
|
|
723
|
+
formatting properties for the axis in a 3D chart.
|
|
724
|
+
|
|
725
|
+
Returns:
|
|
726
|
+
IFormat3D: The 3D format properties object for the axis.
|
|
727
|
+
"""
|
|
728
|
+
pass
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
@property
|
|
732
|
+
@abc.abstractmethod
|
|
733
|
+
def IsSourceLinked(self)->bool:
|
|
734
|
+
"""Gets whether the axis title text is linked to the source data.
|
|
735
|
+
|
|
736
|
+
This property indicates whether the axis title text is automatically generated
|
|
737
|
+
from the source data or manually specified.
|
|
738
|
+
|
|
739
|
+
Returns:
|
|
740
|
+
bool: True if the axis title is linked to the source data, otherwise False.
|
|
741
|
+
"""
|
|
742
|
+
pass
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
@IsSourceLinked.setter
|
|
746
|
+
@abc.abstractmethod
|
|
747
|
+
def IsSourceLinked(self, value:bool):
|
|
748
|
+
"""Sets whether the axis title text is linked to the source data.
|
|
749
|
+
|
|
750
|
+
This property controls whether the axis title text is automatically generated
|
|
751
|
+
from the source data or manually specified.
|
|
752
|
+
|
|
753
|
+
Args:
|
|
754
|
+
value (bool): True to link the axis title to the source data, otherwise False.
|
|
755
|
+
"""
|
|
756
|
+
pass
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
@property
|
|
760
|
+
@abc.abstractmethod
|
|
761
|
+
def TextDirection(self)->'TextVerticalValue':
|
|
762
|
+
"""Gets the text direction for the axis labels.
|
|
763
|
+
|
|
764
|
+
This property returns the vertical text direction for the axis labels,
|
|
765
|
+
such as horizontal, vertical, or rotated text.
|
|
766
|
+
|
|
767
|
+
Returns:
|
|
768
|
+
TextVerticalValue: The text direction for the axis labels.
|
|
769
|
+
"""
|
|
770
|
+
pass
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
@TextDirection.setter
|
|
774
|
+
@abc.abstractmethod
|
|
775
|
+
def TextDirection(self, value:'TextVerticalValue'):
|
|
776
|
+
"""Sets the text direction for the axis labels.
|
|
777
|
+
|
|
778
|
+
This property sets the vertical text direction for the axis labels,
|
|
779
|
+
such as horizontal, vertical, or rotated text.
|
|
780
|
+
|
|
781
|
+
Args:
|
|
782
|
+
value (TextVerticalValue): The text direction to set for the axis labels.
|
|
783
|
+
"""
|
|
784
|
+
pass
|
|
785
|
+
|
|
786
|
+
|