Move analytics charts component
This commit is contained in:
parent
2268bb9eac
commit
5460241f4c
|
@ -1,15 +1,12 @@
|
|||
import { useMemo } from 'react'
|
||||
import { scaleTime, scaleLinear } from 'd3-scale'
|
||||
import { min, max } from 'lodash'
|
||||
import { max } from 'lodash'
|
||||
import dayjs from 'dayjs'
|
||||
|
||||
import { formatPercent } from 'common/util/format'
|
||||
import { Row } from '../layout/row'
|
||||
import {
|
||||
HistoryPoint,
|
||||
SingleValueHistoryChart,
|
||||
} from 'web/components/charts/generic-charts'
|
||||
import { TooltipProps, MARGIN_X, MARGIN_Y } from 'web/components/charts/helpers'
|
||||
import { HistoryPoint, SingleValueHistoryChart } from './generic-charts'
|
||||
import { TooltipProps, MARGIN_X, MARGIN_Y } from './helpers'
|
||||
import { SizedContainer } from 'web/components/sized-container'
|
||||
|
||||
const getPoints = (startDate: number, dailyValues: number[]) => {
|
|
@ -1,5 +1,5 @@
|
|||
import { useEffect, useState } from 'react'
|
||||
import { DailyChart } from 'web/components/analytics/charts'
|
||||
import { DailyChart } from 'web/components/charts/stats'
|
||||
import { Col } from 'web/components/layout/col'
|
||||
import { Spacer } from 'web/components/layout/spacer'
|
||||
import { Tabs } from 'web/components/layout/tabs'
|
||||
|
|
Loading…
Reference in New Issue
Block a user