Skip to content

@maxhealth.tech/prefab / auto / AutoChartOptions

Interface: AutoChartOptions ​

Defined in: auto/chart.ts:16

Properties ​

title? ​

ts
optional title?: string;

Defined in: auto/chart.ts:18

Chart heading.


subtitle? ​

ts
optional subtitle?: string;

Defined in: auto/chart.ts:20

Optional subtitle.


chartType? ​

ts
optional chartType?: ChartType;

Defined in: auto/chart.ts:22

Chart type. Default 'bar'.


xAxis? ​

ts
optional xAxis?: string;

Defined in: auto/chart.ts:24

Key in data to use as X axis (e.g. 'month').


height? ​

ts
optional height?: number;

Defined in: auto/chart.ts:26

Chart height in pixels.


showLegend? ​

ts
optional showLegend?: boolean;

Defined in: auto/chart.ts:28

Show legend. Default true.

Released under the MIT License.