Skip to Content
0
Former Member
Feb 19, 2013 at 03:53 PM

Use of Date in UI5 Column chart

393 Views

Hi,

I am currently doing a UI5 project with SAP gateway as the service provider. As per the documentation, for the axis definition, the value can be "any". However, on providing the same date some from Gateway Service ie EDM.DateTime, it fails to show any value.

Here is the code

var oDataset = new sap.viz.ui5.data.FlattenedDataset({

dimensions : [ {

axis : 1,

name : 'DATE',

value : "{Date}" }

Even tried

value : { path: 'Date', type: new sap.ui.model.type.Date() }

Still it shows "no value" for the X Axis.

Has anyone come across any such issue?

Thanks,

Jayant

Attachments