Skip to content

Commit

Permalink
pass trackerValues thru to infoValues (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandly authored and Peter Murphy committed Aug 19, 2019
1 parent 2405e74 commit 21a6c32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/components/ChartContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,13 @@ var ChartContainer = function (_React$Component) {
_react2.default.createElement(_TimeMarker2.default, {
width: chartsWidth,
height: chartsHeight,
showInfoBox: false,
showInfoBox: !!this.props.trackerValues,
time: this.props.trackerPosition,
timeScale: timeScale,
timeFormat: this.props.format,
infoWidth: this.props.trackerHintWidth,
infoHeight: this.props.trackerHintHeight,
info: this.props.trackerValues,
infoValues: this.props.trackerValues,
infoStyle: trackerStyle
})
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/ChartContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,13 +424,13 @@ export default class ChartContainer extends React.Component {
<TimeMarker
width={chartsWidth}
height={chartsHeight}
showInfoBox={false}
showInfoBox={!!this.props.trackerValues}
time={this.props.trackerPosition}
timeScale={timeScale}
timeFormat={this.props.format}
infoWidth={this.props.trackerHintWidth}
infoHeight={this.props.trackerHintHeight}
info={this.props.trackerValues}
infoValues={this.props.trackerValues}
infoStyle={trackerStyle}
/>
</g>
Expand Down

0 comments on commit 21a6c32

Please sign in to comment.