If i do this i have a long value again shown on the axis...
I have a dataset like this
{State: "State 1", Time: 132474985749}
{State: State 2", Time: 8437823744356}
Now i create a FlattenedDataset with one dimension and one measure:
var oDatasetDuration = new sap.viz.ui5.data.FlattenedDataset({
// a Bar Chart requires exactly one dimension (x-axis)
dimensions : [
{
axis : 1, // must be one for the x-axis, 2 for y-axis
name : 'Process State',
value : "{State}"
}
],
measures : [
// measure 1
{
name : 'Time', // 'name' is used as label in the Legend
value : '{Time}'
}
],
data : {
path : "/processData"
}
});
so if Time is given as long value the Bars in the Bar chart are displayed correctly but the value indicators on the axis is a long number.
if Time is given as a string in format "HH:mm:ss" the Bars on the chart are nit displayed at all...
What i need is the value of measure attribute to be formated as a string but only for the chart axis label