Skip to content

Commit

Permalink
Propagate interactions to chart views
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamann committed Aug 25, 2021
1 parent e653a81 commit 7fd540d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/charts/TimeSeriesWithAuxiliaryView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const TimeSeriesWithAuxiliaryView = forwardRef(({ config = {}, options = {} }: a
...view,
axes: configureYAxes(yScales),
data: viewData,
...(options.interactions && { interactions: options.interactions }),
// TODO: check tooltip options propagation
...(viewOptions.tooltip && { tooltip: viewOptions.tooltip }),
//...(viewOptions.legend && { legend: viewOptions.legend }), // TODO: copy to the chart's legend option
Expand Down

0 comments on commit 7fd540d

Please sign in to comment.