ChartInfo

Overview

ChartInfo is a interface in Aspose.Cells FOSS for Typescript.

ChartInfo provides a read‑only snapshot of a chart’s configuration, including type, title, series, legend position, axis positions, plot area, and dimensions.

Properties: categoryAxisPosition, chartType, fromColOff, fromRowOff, height, legendPosition, and 15 more.

Description

ChartInfo is an interface in Aspose.Cells FOSS for TypeScript that defines a contract with 0 methods. Classes that implement this interface must provide concrete implementations for all declared operations.

Core capabilities include: : charttype; : string; : chartseries[]. These operations enable developers to integrate chartinfo functionality directly into TypeScript applications.

The class also provides the chartType property (gets the chart type), the title property (gets the title), the series property (gets the series).

Properties

NameTypeAccessDescription
chartType: ChartTypeReadGets the chart type.
title: stringReadGets the title.
series: ChartSeries[]ReadGets the series.
legendPosition: "left" | "right" | "top" | "bottom"ReadGets the legend position.
categoryAxisPosition: "left" | "right" | "top" | "bottom"ReadGets the category axis position.
valueAxisPosition: "left" | "right" | "top" | "bottom"ReadGets the value axis position.
plotArea`: {
x: number;

y: number;

width: number;

height: number;

}| Read | Gets the plot area. | |x|: number| Read | Gets the x. | |y|: number| Read | Gets the y. | |width|: number| Read | Gets the width. | |height|: number| Read | Gets the height. | |fromRowOff|: number| Read | Gets the from row off. | |fromColOff|: number| Read | Gets the from col off. | |toRowOff|: number| Read | Gets the to row off. | |toColOff|: number| Read | Gets the to col off. | |originalX|: number| Read | Gets the original x. | |originalY|: number| Read | Gets the original y. | |sheetIndex|: number| Read | Gets the sheet index. | |originalChartXml|: string| Read | Gets the original chart xml. | |originalStyleXml|: string| Read | Gets the original style xml. | |originalColorsXml|: string` | Read | Gets the original colors xml. |

See Also