chore: enabled funnel option
This commit is contained in:
parent
edf6077eb4
commit
2451e58df9
@ -6,6 +6,7 @@ import PieChart from './charts/PieChart';
|
||||
import Heatmap from './charts/Heatmap';
|
||||
import AxisChart from './charts/AxisChart';
|
||||
import DonutChart from './charts/DonutChart';
|
||||
import FunnelChart from './charts/FunnelChart';
|
||||
|
||||
const chartTypes = {
|
||||
bar: AxisChart,
|
||||
@ -15,6 +16,7 @@ const chartTypes = {
|
||||
heatmap: Heatmap,
|
||||
pie: PieChart,
|
||||
donut: DonutChart,
|
||||
funnel: FunnelChart,
|
||||
};
|
||||
|
||||
function getChartByType(chartType = 'line', parent, options) {
|
||||
|
||||
@ -114,6 +114,14 @@ let componentConfigs = {
|
||||
if(newData) return [];
|
||||
}
|
||||
},
|
||||
funnelSlice: {
|
||||
layerClass: 'funnel-slice',
|
||||
makeElements(data) {
|
||||
return data
|
||||
},
|
||||
|
||||
animateElements: {}
|
||||
}
|
||||
yAxis: {
|
||||
layerClass: 'y axis',
|
||||
makeElements(data) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user