-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
161 lines (138 loc) · 4.62 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
export { version } from './build/package';
// Abstract charts
export { Chart } from './src/chart/Chart';
export { AxesChart } from './src/chart/axesChart/AxesChart';
export { PolarChart } from './src/chart/polarChart/PolarChart';
// Concrete charts
// Cartesian coordinates
export { LineChart } from './src/chart/axesChart/LineChart';
export { AreaChart } from './src/chart/axesChart/AreaChart';
export { SparklineChart } from './src/chart/axesChart/SparklineChart';
export { BarChart } from './src/chart/axesChart/BarChart';
export { HorizontalBarChart } from './src/chart/axesChart/HorizontalBarChart';
export { SimpleBarChart } from './src/chart/axesChart/SimpleBarChart';
export { HorizontalSimpleBarChart } from './src/chart/axesChart/SimpleHorizontalBarChart';
export { SegmentBarChart } from './src/chart/axesChart/SegmentBarChart';
export { HorizontalSegmentBarChart } from './src/chart/axesChart/HorizontalSegmentBarChart';
export { VerticalSpanChart } from './src/chart/axesChart/VerticalSpanChart';
export { HorizontalSpanChart } from './src/chart/axesChart/HorizontalSpanChart';
export { ScatterPlot } from './src/chart/axesChart/ScatterPlotChart';
export {
IconArray,
iconArrangeBottomTop,
iconArrangeTopBottom,
} from './src/chart/axesChart/IconArray';
// Polar coordinates
export { ArcChart } from './src/chart/polarChart/ArcChart';
export { GaugeChart } from './src/chart/polarChart/GaugeChart';
export { PolarAreaChart } from './src/chart/polarChart/PolarAreaChart';
export { RadarChart } from './src/chart/polarChart/RadarChart';
export { WedgeChart } from './src/chart/polarChart/WedgeChart';
// Const
import * as constants from './src/const';
export { constants };
// Support
export {
EventWatcher,
InstanceGroup,
MonteError,
MonteOptionError,
global,
} from './src/support/';
// Extensions
export { Extension } from './src/extension/Extension';
export { Arc as ExtArc } from './src/extension/Arc';
export { AxisTickTransform as ExtAxisTickTransform } from './src/extension/AxisTickTransform';
export { AxisLabelWrap as ExtAxisLabelWrap } from './src/extension/AxisLabelWrap';
export { AxisLabelTruncate as ExtAxisLabelTruncate } from './src/extension/AxisLabelTruncate';
export { Crosshair as ExtCrosshair } from './src/extension/Crosshair';
export { Frame as ExtFrame } from './src/extension/Frame';
export {
Grid as ExtGrid,
HorizontalLines as ExtHorizontalLines,
VerticalLines as ExtVerticalLines,
} from './src/extension/Grid';
export { Label as ExtLabel } from './src/extension/Label';
export { PolarGrid as ExtPolarGrid } from './src/extension/PolarGrid';
export { PolarLine as ExtPolarLine } from './src/extension/PolarLine';
export { PolarRotateLabel as ExtPolarRotateLabel } from './src/extension/PolarRotateLabel';
export { PolarTicks as ExtPolarTicks } from './src/extension/PolarTicks';
export {
BarBg as ExtBarBg,
HorizontalBarBg as ExtHorizontalBarBg,
} from './src/extension/BarBg';
export { ReferenceLine as ExtReferenceLine } from './src/extension/ReferenceLine';
export { SelectionRect as ExtSelectionRect } from './src/extension/SelectionRect';
// Tools
import * as tools from './src/tools/';
export { tools };
// Util
export {
axisNoTicks,
axisWholeNumberFormat,
axisXLabelStart,
axisXLabelCenter,
axisXLabelGenerator,
axisXLabelMiddle,
axisXLabelEnd,
axisYLabelStart,
axisYLabelCenter,
axisYLabelGenerator,
axisYLabelMiddle,
axisYLabelEnd,
} from './src/util/axis';
export {
radiusContrain,
} from './src/util/dimension';
export {
extentFromZero,
extentBalanced,
extentGeneratorPercentOffset,
extentGeneratorValueOffset,
extentGeneratorZeroToMax,
} from './src/util/extents';
export {
needleRoundedEnd,
needleFlatEnd,
needleExtraPointer,
needleRect,
} from './src/util/needle';
export {
polarLabelCentroid,
polarLabelInner,
polarLabelInnerAdjust,
polarLabelInnerEdge,
polarLabelInnerFactor,
polarLabelOuter,
polarLabelOuterAdjust,
polarLabelOuterEdge,
polarLabelOuterFactor,
} from './src/util/polarLabels';
export {
gaugeLabelRotateTangentOrigin,
gaugeLabelRotateTangentFlip,
gaugeLabelRotateRay,
gaugeLabelRotateRayFlip,
gaugeLabelRotateRayOpposite,
gaugeLabelRotateNone,
polarLabelRotateTangentOrigin,
polarLabelRotateTangentFlip,
polarLabelRotateRay,
polarLabelRotateRayFlip,
polarLabelRotateRayOpposite,
polarLabelRotateNone,
} from './src/util/polarLabelRotations';
export {
AutoResizer,
HorizontalResizer,
HorizontalRatioResizer,
Resizer,
VerticalResizer,
} from './src/util/resizeHandlers';
export {
transitionSettings,
} from './src/util/transitionSettings';
export {
arcSimpleTween,
arcLabelTween,
} from './src/util/tween';