Skip to Content
0
Jul 09, 2019 at 07:36 AM

Column Chart : 50005 valueAxis : does not meet the minimum or maximum number of feeds definition ?

1736 Views

hi Guys,

Am using VIz Frame charts of type Column for showing number of calls at specific intervals in a day.

Below is the UI5 code and JSON Model am using

// UI5 CODE FOR VIZ FRAME CHART OF TYPE COLUMN
<viz:VizFrame id="CALL_INTENSITY_FRAME" vizType="column" uiConfig="{applicationSet:'fiori'}" vizProperties="{plotArea:{dataLabel:{visible: true}}}" class="graphWidthHeight">
<viz:dataset>
					
<viz.data:FlattenedDataset data="{CALL_INTENSITY_MODEL>/CALL_INTENSITY}">
<viz.data:dimensions>
<viz.data:DimensionDefinition name="GroupType" value="{CALL_INTENSITY_MODEL>GROUP_TYPE}" displayValue="{CALL_INTENSITY_MODEL>DISPLAY_NAME}" />
</viz.data:dimensions>
<viz.data:measures>
<viz.data:MeasureDefinition value="{CALL_INTENSITY_MODEL>GROUP_VOLUME}" name="RECORDS" />
</viz.data:measures>
</viz.data:FlattenedDataset>
</viz:dataset>


<viz:feeds>
<viz.feeds:FeedItem id = "CALL_INTENSITY_measure" uid="size" type="Measure" values="RECORDS" />
<viz.feeds:FeedItem id = "CALL_INTENSITY_dimension" uid="color" type="Dimension" values="GroupType" />
</viz:feeds>
</viz:VizFrame>
<viz:Popover id="CALL_INTENSITY_POPOVER"></viz:Popover>  

Now the data coming from the Model is as shown below

// JSON MODEL DATA 
{
"CALL_INTENSITY" :
[  
   {  
      "GROUP_TYPE":"CALL_INTENSITY_AT_8 ",
      "GROUP_VOLUME":"9",
      "DISPLAY_NAME":"Call Intensity At 8 "
   },
   {  
      "GROUP_TYPE":"CALL_INTENSITY_AT_9 ",
      "GROUP_VOLUME":"2420",
      "DISPLAY_NAME":"Call Intensity At 9 "
   },
   {  
      "GROUP_TYPE":"CALL_INTENSITY_AT_10",
      "GROUP_VOLUME":"6484",
      "DISPLAY_NAME":"Call Intensity At 10"
   },
   {  
      "GROUP_TYPE":"CALL_INTENSITY_AT_11",
      "GROUP_VOLUME":"7624",
      "DISPLAY_NAME":"Call Intensity At 11"
   },
   {  
      "GROUP_TYPE":"CALL_INTENSITY_AT_12",
      "GROUP_VOLUME":"8288",
      "DISPLAY_NAME":"Call Intensity At 12"
   }
]
}

but am getting error in the view as

[50005] - valueAxis : does not meet the minimum or maximum number of feeds definition.

Regards

Govardan