ChartElements Interface
Optional chart titles, labels, legends, axes and gridline settings.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| axes | The axes value of ChartElements. |
| axisTitles | The axisTitles value of ChartElements. |
| chartTitle | The chartTitle value of ChartElements. |
| dataLabels | The dataLabels value of ChartElements. |
| dataTable | The dataTable value of ChartElements. |
| errorBars | The errorBars value of ChartElements. |
| gridlines | The gridlines value of ChartElements. |
| legend | The legend value of ChartElements. |
| trendline | The trendline value of ChartElements. |
Examples
Pass the ChartElements value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { ChartElements } from '@txtextcontrol/tx-sheet-control';
function inspectChartElementsAxes(chartElements: ChartElements) {
const value = chartElements['axes'];
console.log('ChartElements.axes', value);
}