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