diff --git a/extension/src/plots/vega/util.ts b/extension/src/plots/vega/util.ts index 8244d4f687..fd6be2f7ac 100644 --- a/extension/src/plots/vega/util.ts +++ b/extension/src/plots/vega/util.ts @@ -255,6 +255,11 @@ export const truncateTitles = ( const specCopy: Record = {} for (const [key, value] of Object.entries(spec)) { + if (['data', 'color', 'strokeDash', 'shape', 'detail'].includes(key)) { + specCopy[key] = value + continue + } + const valueType = typeof value if (key === 'y') { vertical = true