Move analytics charts component

This commit is contained in:
Marshall Polaris 2022-10-02 15:22:40 -07:00
parent 2268bb9eac
commit 5460241f4c
2 changed files with 4 additions and 7 deletions

View File

@ -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[]) => {

View File

@ -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'