-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2319370
commit ececdf7
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ bower_components | |
build/Release | ||
output | ||
dist | ||
!**/packages/vchart/dist | ||
esm | ||
es | ||
cjs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* @description 包含基础的折柱饼图,提供坐标轴、离散图例以及 tooltip、crosshair、label 组件 | ||
*/ | ||
import { VChart } from './core'; | ||
import { registerLineChart } from './chart/line/line'; | ||
import { registerBarChart } from './chart/bar/bar'; | ||
import { registerAreaChart } from './chart/area/area'; | ||
import { registerPieChart } from './chart/pie/pie'; | ||
import { registerCommonChart } from './chart/common/common'; | ||
|
||
import { registerLabel } from './component/label/label'; | ||
import { registerCartesianCrossHair } from './component/crosshair/cartesian'; | ||
import { registerTooltip } from './component/tooltip/tooltip'; | ||
import { registerDiscreteLegend } from './component/legend/discrete/legend'; | ||
import { registerCartesianBandAxis } from './component/axis/cartesian/band-axis'; | ||
import { registerCartesianLinearAxis } from './component/axis/cartesian/linear-axis'; | ||
import { registerWXEnv } from './env'; | ||
|
||
export * from './core'; | ||
|
||
VChart.useRegisters([ | ||
// charts | ||
registerLineChart, | ||
registerAreaChart, | ||
registerBarChart, | ||
registerPieChart, | ||
registerCommonChart, | ||
|
||
// components | ||
registerCartesianLinearAxis, | ||
registerCartesianBandAxis, | ||
registerDiscreteLegend, | ||
registerTooltip, | ||
registerCartesianCrossHair, | ||
registerLabel | ||
]); | ||
|
||
VChart.useRegisters([registerWXEnv]); | ||
|
||
export { VChart }; | ||
|
||
export default VChart; |