diff --git a/packages/cx/src/charts/LineGraph.js b/packages/cx/src/charts/LineGraph.js index 304d4b8ec..30a968908 100644 --- a/packages/cx/src/charts/LineGraph.js +++ b/packages/cx/src/charts/LineGraph.js @@ -90,8 +90,11 @@ export class LineGraph extends Widget { active: data.active, colorIndex: data.colorIndex, disabled: data.disabled, - //selected: this.selection.isInstanceSelected(instance), - style: parseStyle(data.style || data.lineStyle), + style: { + ...parseStyle(data.style), + ...parseStyle(data.areaStyle), + ...parseStyle(data.lineStyle), + }, shape: this.legendShape, onClick: (e) => { this.onLegendClick(e, instance);