SparklineOptions Interface
Creation or update settings for sparkline ranges and their shared appearance.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| axisColor | The axisColor value of SparklineOptions. |
| color | The color value of SparklineOptions. |
| dataRange | The dataRange value of SparklineOptions. |
| displayHidden | The displayHidden value of SparklineOptions. |
| emptyCells | The emptyCells value of SparklineOptions. |
| first | The first value of SparklineOptions. |
| firstColor | The firstColor value of SparklineOptions. |
| high | The high value of SparklineOptions. |
| highColor | The highColor value of SparklineOptions. |
| id | The id value of SparklineOptions. |
| last | The last value of SparklineOptions. |
| lastColor | The lastColor value of SparklineOptions. |
| lineWeight | The lineWeight value of SparklineOptions. |
| locationRange | The locationRange value of SparklineOptions. |
| low | The low value of SparklineOptions. |
| lowColor | The lowColor value of SparklineOptions. |
| manualMax | The manualMax value of SparklineOptions. |
| manualMin | The manualMin value of SparklineOptions. |
| markerColor | The markerColor value of SparklineOptions. |
| markers | The markers value of SparklineOptions. |
| maxAxisType | The maxAxisType value of SparklineOptions. |
| minAxisType | The minAxisType value of SparklineOptions. |
| negative | The negative value of SparklineOptions. |
| negativeColor | The negativeColor value of SparklineOptions. |
| rightToLeft | The rightToLeft value of SparklineOptions. |
| showAxis | The showAxis value of SparklineOptions. |
| type | The type value of SparklineOptions. |
Examples
Configure SparklineOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { SparklineOptions } from '@txtextcontrol/tx-sheet-control';
const sparklineSettings: SparklineOptions = { dataRange: 'B2:D2', locationRange: 'E2', type: 'line' };