Closed proand closed 2 months ago
NB! Check #11 for more info!
Acceptance Criteria
API interface (expanded)
export interface FhiDiagramOptions { activeDiagramType: FhiDiagramTypeIds; controls?: { fullScreenButton?: { show?: boolean; }; metadataButton?: { show?: boolean; }; navigation?: { items?: { chartTypes?: Array<keyof typeof ChartTypeIds>; mapTypes?: Array<keyof typeof MapTypeIds>; }; show?: boolean; type?: keyof typeof DiagramTypeNavIds; }; tableOrientationButton?: { show?: boolean; }; }; footer?: { credits?: { href: string; text: string; }; disclaimer?: string; flags?: Array<FhiDiagramFlag>; lastUpdated?: string; }; openSource?: boolean; series: { data: { name: string; y: number | string; }; name: string | Array<string>; unitId?: number | string; }; tableOrientation?: FhiTableOrientations; title: string; unit?: [ { id: number | string; decimals: number; label: string; symbol: string; position: keyof typeof UnitSymbolPosition; }, ]; }
NB! Check #11 for more info!
Acceptance Criteria
API interface (expanded)