diff --git a/samples/charts/funnel-chart/legend.json b/samples/charts/funnel-chart/legend.json new file mode 100644 index 000000000..332c982c9 --- /dev/null +++ b/samples/charts/funnel-chart/legend.json @@ -0,0 +1,23 @@ +{ + "strings": { + "legendTitle": "Global Electricity Demand by Energy Use" + }, + "descriptions": { + "legend": { + "type": "ItemLegend", + "name": "legend", + "orientation": "Horizontal" + }, + "content": { + "type": "FunnelChart", + "name": "chart", + "valueMemberPath": "Value", + "innerLabelMemberPath": "Summary", + "dataSourceRef": "EnergyGlobalDemand" + } + }, + "modules": [ + "charts/ItemLegendModule", + "charts/FunnelChartModule" + ] +} \ No newline at end of file diff --git a/samples/charts/funnel-chart/overview.json b/samples/charts/funnel-chart/overview.json new file mode 100644 index 000000000..4e99305d8 --- /dev/null +++ b/samples/charts/funnel-chart/overview.json @@ -0,0 +1,14 @@ +{ + "descriptions": { + "content": { + "type": "FunnelChart", + "name": "chart", + "innerLabelMemberPath": "Summary", + "valueMemberPath": "Value", + "dataSourceRef": "EnergyGlobalDemand" + } + }, + "modules": [ + "charts/FunnelChartModule" + ] +} \ No newline at end of file diff --git a/samples/charts/funnel-chart/selection.json b/samples/charts/funnel-chart/selection.json new file mode 100644 index 000000000..8a54c6cf9 --- /dev/null +++ b/samples/charts/funnel-chart/selection.json @@ -0,0 +1,23 @@ +{ + "strings": { + "legendTitle": "Global Electricity Demand by Energy Use" + }, + "descriptions": { + "legend": { + "type": "ItemLegend", + "name": "legend", + "orientation": "Horizontal" + }, + "content": { + "type": "FunnelChart", + "name": "chart", + "innerLabelMemberPath": "Summary", + "valueMemberPath": "Value", + "dataSourceRef": "EnergyGlobalDemand" + } + }, + "modules": [ + "charts/ItemLegendModule", + "charts/FunnelChartModule" + ] +} \ No newline at end of file diff --git a/samples/charts/funnel-chart/styling.json b/samples/charts/funnel-chart/styling.json new file mode 100644 index 000000000..1f0e68c72 --- /dev/null +++ b/samples/charts/funnel-chart/styling.json @@ -0,0 +1,25 @@ +{ + "strings": { + "legendTitle": "Global Electricity Demand by Energy Use" + }, + "descriptions": { + "legend": { + "type": "ItemLegend", + "name": "legend", + "orientation": "Horizontal" + }, + "content": { + "type": "FunnelChart", + "name": "chart", + "valueMemberPath": "Value", + "innerLabelMemberPath": "Summary", + "brushes": ["#f7d262", "#a8a8b7", "#e051a9", "#f8a15f", "#735656"], + "outlines": ["#ffffff"], + "dataSourceRef": "EnergyGlobalDemand" + } + }, + "modules": [ + "charts/FunnelChartModule", + "charts/ItemLegendModule" + ] +} \ No newline at end of file