Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions static/app/views/dashboards/widgetCard/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ type WidgetCardChartProps = Pick<
confidence?: Confidence;
expandNumbers?: boolean;
isMobile?: boolean;
isSampled?: boolean;
legendOptions?: LegendComponentOption;
minTableColumnWidth?: string;
noPadding?: boolean;
Expand Down Expand Up @@ -281,6 +282,7 @@ class WidgetCardChart extends Component<WidgetCardChartProps> {
confidence,
showConfidenceWarning,
sampleCount,
isSampled,
} = this.props;

if (errorMessage) {
Expand Down Expand Up @@ -552,6 +554,7 @@ class WidgetCardChart extends Component<WidgetCardChartProps> {
confidence={confidence}
sampleCount={sampleCount}
topEvents={topEventsCountExcludingOther}
isSampled={isSampled}
/>
)}
</ChartWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export function WidgetCardChartContainer({
timeseriesResultsTypes,
confidence,
sampleCount,
isSampled,
}) => {
if (widget.widgetType === WidgetType.ISSUE) {
return (
Expand Down Expand Up @@ -172,6 +173,7 @@ export function WidgetCardChartContainer({
confidence={confidence}
sampleCount={sampleCount}
minTableColumnWidth={minTableColumnWidth}
isSampled={isSampled ?? undefined}
/>
</Fragment>
);
Expand Down
Loading