Skip to content

Commit

Permalink
Discard changes to packages/react-charting/src/components/StackedBarC…
Browse files Browse the repository at this point in the history
…hart/StackedBarChart.base.tsx
  • Loading branch information
marcosmoura authored Aug 28, 2023
1 parent 4b27637 commit 74f6a08
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export class StackedBarChartBase extends React.Component<IStackedBarChartProps,
// mapping data to the format Legends component needs
const legend: ILegend = {
title: point.legend!,
color,
color: color,
action:
total > 0
? () => {
Expand Down Expand Up @@ -316,7 +316,7 @@ export class StackedBarChartBase extends React.Component<IStackedBarChartProps,
const shouldHighlight = this._legendHighlighted(point.legend!) || this._noLegendHighlighted() ? true : false;
this._classNames = getClassNames(styles!, {
theme: this.props.theme!,
shouldHighlight,
shouldHighlight: shouldHighlight,
href: this.props.href!,
});

Expand Down Expand Up @@ -390,7 +390,7 @@ export class StackedBarChartBase extends React.Component<IStackedBarChartProps,
isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend!,
calloutLegend: point.legend!,
dataForHoverCard: pointData,
color,
color: color,
xCalloutValue: point.xAxisCalloutData!,
yCalloutValue: point.yAxisCalloutData!,
dataPointCalloutProps: point,
Expand Down Expand Up @@ -462,7 +462,7 @@ export class StackedBarChartBase extends React.Component<IStackedBarChartProps,
isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend!,
calloutLegend: point.legend!,
dataForHoverCard: pointData,
color,
color: color,
xCalloutValue: point.xAxisCalloutData!,
yCalloutValue: point.yAxisCalloutData!,
dataPointCalloutProps: point,
Expand Down

0 comments on commit 74f6a08

Please sign in to comment.