Merge pull request #19288 from deepeshgarg007/analytics_chart_fix

fix: Chart fix in Analytics report when based on item