Skip to Content
0
Jul 12, 2020 at 08:42 AM

VizFrame - Not gettting how to attach FeedItem

27 Views

Hello Experts,

Dataset binding done with JSON Model abcD_vizFrame and Pie shows up Fine...But how to attach FeedItem to display Exact Count? If given like this "{abcD_vizFrame>Count}" throwing error.

VizFrame loads everytime based on a criteria.

<viz:VizFrame id="abcDvizFrame" uiConfig="{applicationSet:'fiori'}" busy="{abcD>/VizFramebusy}" visible="{abcD>/VizFrameshow}"  height='100%' width="100%" vizType='pie' selectData=".onSelect" title="PieChart">
                <viz:dataset>
                    <viz.data:FlattenedDataset data="{abcD_vizFrame>/stat}">
                        <viz.data:dimensions>
                            <viz.data:DimensionDefinition name="HoldText"
                                value="{abcD_vizFrame>HoldText}" />
                        </viz.data:dimensions>
                        <viz.data:measures>
                            <viz.data:MeasureDefinition name="Count"
                                value="{abcD_vizFrame>Count}" />
                        </viz.data:measures>
                    </viz.data:FlattenedDataset>
                </viz:dataset>
                <viz:feeds>
                    <viz.feeds:FeedItem uid="size" type="Measure"
                        values="Count"/>
                    <viz.feeds:FeedItem uid="color" type="Dimension"
                        values="HoldText"/>
                </viz:feeds>
            </viz:VizFrame>