diff --git a/src/common/visualization-manifests/line-chart/settings.ts b/src/common/visualization-manifests/line-chart/settings.ts index bcd79204f..95c0f2a01 100644 --- a/src/common/visualization-manifests/line-chart/settings.ts +++ b/src/common/visualization-manifests/line-chart/settings.ts @@ -34,7 +34,7 @@ const createSettings = (settings: Partial): ImmutableRecord) => settings.toJS(), + print: (settings: ImmutableRecord) => settings ? settings.toJS() : null, read: (input: LineChartSettings) => createSettings({ groupSeries: !!input.groupSeries }) }, defaults: createSettings({}) as ImmutableRecord