Skip to Content
0

Error in Viz Frame- FeedItem - Value Axis feed

Jul 06, 2017 at 12:18 PM

211

avatar image

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 :

 <viz:VizFrame 
            	id="idVizFrame"
                height="400px" 
                width="100%" 
                vizType="column"
                vizProperties="{
                	title: {
						visible: false
					}
                }"
                legendVisible="false">
                <viz:dataset>
                    <viz.data:FlattenedDataset data="{graphData>/}">
                        <viz.data:dimensions>
                            <viz.data:DimensionDefinition name="Week"
                                value="{graphData>Week}" />
                        </viz.data:dimensions>
                        <viz.data:measures>
                            <viz.data:MeasureDefinition name="{i18n>xlab.kpi001}" value="{graphData>Value_1}" />
                        	<viz.data:MeasureDefinition name="{i18n>xlab.kpi002}" value="{graphData>Value_2}" />
                    		<viz.data:MeasureDefinition name="{i18n>xlab.kpi003}" value="{graphData>Value_3}" />
                			<viz.data:MeasureDefinition name="{i18n>xlab.kpi004}" value="{graphData>Value_4}" />
            				<viz.data:MeasureDefinition name="{i18n>xlab.kpi005}" value="{graphData>Value_5}" />
                        </viz.data:measures>
                    </viz.data:FlattenedDataset>
                </viz:dataset>
 
                <viz:feeds>
                    <viz.feeds:FeedItem uid="categoryAxis" type="Dimension" values="Week" />
                    <viz.feeds:FeedItem id="valueAxisFeed" uid="valueAxis" type="Measure" values="Store" />
                </viz:feeds>
            </viz:VizFrame>
	    </layout:VerticalLayout>
	</HBox>

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

Kenneth Hartman Jul 06, 2017 at 02:05 PM
0

make sure your 18n defintions and value axis match.

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

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.

0