index.js 831 Bytes
Newer Older
1 2
import numeral from 'numeral';
import ChartCard from './ChartCard';
Shuai Chen's avatar
Shuai Chen committed
3
import Field from './Field';
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
4 5 6 7 8 9 10 11 12 13
import Bar from './Bar';
import Pie from './Pie';
import Radar from './Radar';
import Gauge from './Gauge';
import MiniArea from './MiniArea';
import MiniBar from './MiniBar';
import MiniProgress from './MiniProgress';
import WaterWave from './WaterWave';
import TagCloud from './TagCloud';
import TimelineChart from './TimelineChart';
14

jim's avatar
jim committed
15
const yuan = val => `Β₯ ${numeral(val).format('0,0')}`;
16

ddcat1115's avatar
ddcat1115 committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
const Charts = {
  yuan,
  Bar,
  Pie,
  Gauge,
  Radar,
  MiniBar,
  MiniArea,
  MiniProgress,
  ChartCard,
  Field,
  WaterWave,
  TagCloud,
  TimelineChart,
};

33
export {
ddcat1115's avatar
ddcat1115 committed
34
  Charts as default,
35 36 37 38 39 40 41 42 43 44 45
  yuan,
  Bar,
  Pie,
  Gauge,
  Radar,
  MiniBar,
  MiniArea,
  MiniProgress,
  ChartCard,
  Field,
  WaterWave,
niko's avatar
niko committed
46 47
  TagCloud,
  TimelineChart,
48
};