Skip to Content

Error in Viz Frame- FeedItem - Value Axis feed

Jul 06, 2017 at 12:18 PM


avatar image
Former Member

Hi experts,

I was working on Viz Chart in which if we click a table entry(green play button shown in the attached image) it will open the related chart for that KPI. but i'm getting error as [50005] - valueAxis : does not meet the minimum or maximum number of feeds definition.

My code for the view :

                	title: {
						visible: false
                    < data="{graphData>/}">
                            < name="Week"
                                value="{graphData>Week}" />
                            < name="{i18n>xlab.kpi001}" value="{graphData>Value_1}" />
                        	< name="{i18n>xlab.kpi002}" value="{graphData>Value_2}" />
                    		< name="{i18n>xlab.kpi003}" value="{graphData>Value_3}" />
                			< name="{i18n>xlab.kpi004}" value="{graphData>Value_4}" />
            				< name="{i18n>xlab.kpi005}" value="{graphData>Value_5}" />
                    <viz.feeds:FeedItem uid="categoryAxis" type="Dimension" values="Week" />
                    <viz.feeds:FeedItem id="valueAxisFeed" uid="valueAxis" type="Measure" values="Store" />

Can you please help me out why i'm getting this error. Please let me know if you need any other information.

feed.jpg (13.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Jul 06, 2017 at 02:05 PM

make sure your 18n defintions and value axis match.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Kenneth,

before this i got one more issue where my frame was not loading at all with an error as "Store" is of type string, expected any[] for property "values" of Element sap.viz.ui5.controls.common.feeds.FeedItem#__xmlview2--valueAxisFeed

at that time my feed definition was

<viz.feeds:FeedItem id="valueAxisFeed" uid="valueAxis" type="Measure" values="{i18n>xlab.kpi001}" />

but in order to resolve this issue i changed this line to :

<viz.feeds:FeedItem id="valueAxisFeed" uid="valueAxis" type="Measure" values="Store" />

So by directly placing the text value the error didn't appear again but now im getting the 5005 error.

Indeed in 18n the definition of i18n>xlab.kpi001} is nothing but "Store". So is that because of that im getting this error [50005] - valueAxis : does not meet the minimum or maximum number of feeds definition ?

please suggest.