From 8891c229aa892056c146e45e15d037c91c3a2efc Mon Sep 17 00:00:00 2001 From: metonym Date: Fri, 19 Aug 2022 13:30:46 -0700 Subject: [PATCH] fix(core): add missing properties to AxisOptions interface Fixes #1413 --- packages/core/src/interfaces/axis-scales.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/core/src/interfaces/axis-scales.ts b/packages/core/src/interfaces/axis-scales.ts index 8a10272708..8c7a5ba09b 100644 --- a/packages/core/src/interfaces/axis-scales.ts +++ b/packages/core/src/interfaces/axis-scales.ts @@ -124,6 +124,15 @@ export interface AxisOptions extends BasedAxisOptions { * option for percentage axis scale */ percentage?: boolean; + /** + * should be set to `true` for the + * left axis to be the primary axis + */ + main?: boolean; + /** + * used to map data on the secondary axis + */ + correspondingDatasets?: Array; } export interface BinnedAxisOptions {