// ui import { BarGraph } from "components/ui"; // types import { IDefaultAnalyticsResponse } from "types"; type Props = { defaultAnalytics: IDefaultAnalyticsResponse; }; export const AnalyticsScope: React.FC = ({ defaultAnalytics }) => (
SCOPE
Pending issues
`#f97316`} customYAxisTickValues={defaultAnalytics.pending_issue_user.map((d) => d.count)} tooltip={(datum) => (
Issue count- {datum.indexValue ?? "No assignee"}:{" "} {datum.value}
)} axisBottom={{ renderTick: (datum) => { const avatar = defaultAnalytics.pending_issue_user[datum.tickIndex].assignees__avatar ?? ""; if (avatar && avatar !== "") return ( ); else return ( {(`${datum.value}` ?? "No assignee").toUpperCase().charAt(0)} ); }, }} margin={{ top: 20 }} />
);