Chart

개요

Chart은 Aspose.Cells FOSS에서 TypeScript을 위한 클래스입니다.

이 클래스는 TypeScript 프로그램의 차트 객체에 대해 7개의 메서드를 선언합니다. 사용 가능한 메서드에는 constructor, setDataRange, setLegendPosition, setPosition, setPositionWithOffset, setTitle, setWorksheet이 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: categoryAxisPosition, chartType, dataIsVertical, dataRange, fromCol, fromColOff 및 23개가 더 있습니다.

속성

이름유형액세스설명
chartType: ChartType읽기/쓰기차트 유형을 가져오거나 설정합니다.
title: string읽기/쓰기제목을 가져오거나 설정합니다.
series: ChartSeries[]읽기/쓰기시리즈를 가져오거나 설정합니다.
legendPosition`: “left”“right”“top”
categoryAxisPosition`: “left”“right”“top”
valueAxisPosition`: “left”“right”“top”
plotArea: { x: number; y: number; width: number; height: number }읽기/쓰기플롯 영역을 가져오거나 설정합니다.
fromRow: number읽기/쓰기시작 행을 가져오거나 설정합니다.
fromCol: number읽기/쓰기from col을 가져오거나 설정합니다.
toRow: number읽기/쓰기to row를 가져오거나 설정합니다.
toCol: number읽기/쓰기to col을 가져오거나 설정합니다.
fromRowOff: number읽기/쓰기시작 행 오프셋을 가져오거나 설정합니다.
fromColOff: number읽기/쓰기from col off를 가져오거나 설정합니다.
toRowOff: number읽기/쓰기행 오프셋을 가져오거나 설정합니다.
toColOff: number읽기/쓰기to col off를 가져오거나 설정합니다.
originalX: number읽기/쓰기원래 x를 가져오거나 설정합니다.
originalY: number읽기/쓰기원래 y를 가져오거나 설정합니다.
sheetIndex: number읽기/쓰기시트 인덱스를 가져오거나 설정합니다.
type: string읽기/쓰기형식을 가져오거나 설정합니다.
name: string읽기/쓰기이름을 가져오거나 설정합니다.
originalChartXml: string읽기/쓰기원본 차트 xml을 가져오거나 설정합니다.
originalStyleXml: string읽기/쓰기원본 스타일 XML을 가져오거나 설정합니다.
originalColorsXml: string읽기/쓰기원본 색상 XML을 가져오거나 설정합니다.
x: number읽기/쓰기x를 가져오거나 설정합니다.
y: number읽기/쓰기y를 가져오거나 설정합니다.
width: number읽기/쓰기너비를 가져오거나 설정합니다.
height: number읽기/쓰기높이를 가져오거나 설정합니다.
dataRange: string읽기/쓰기데이터 범위를 가져오거나 설정합니다.
dataIsVertical: boolean읽기/쓰기데이터가 수직인지 여부를 가져오거나 설정합니다.

메서드

시그니처설명
constructor(type: ChartType, sheetIndex: number)이 Chart 인스턴스에서 constructor(type, sheetIndex)를 호출합니다.
setPosition(topRow: number, leftColumn: number, bottomRow: number, rightColumn: number) → Chart위치 값을 설정합니다.
setPositionWithOffset(topRow: number, top: number, leftColumn: number, left: number, height: number, width: number) → Chart오프셋 값으로 위치를 설정합니다.
setDataRange(dataRange: string, isVertical: boolean) → Chart데이터 범위 값을 설정합니다.
setWorksheet(worksheet: Worksheet)워크시트 값을 설정합니다.
setTitle(title: string) → Chart제목 값을 설정합니다.
`setLegendPosition(position: “left”“right”

참조

 한국어