Hi Experts ,
How to set X-axis interval counts on SAP UI5 Viz Line charts .
In scenario like i am querying for 45 days have labels on X-axis for all 45 data points as in screen shot . Is there any way to setting interval as 4 .
As we do in Applet's .
Below are the code i am trying.
oDataset = new sap.viz.ui5.data.FlattenedDataset({
dimensions : [
{
axis : 1, // must be one for the x-axis, 2 for y-axis
name : 'SampleDateTime',
value : '{SampleDateTime}'
}
],
labels: {
xaxis : {
tickDateRangeFromChartData : false
}
},
measures : [{
name : 'Ni', // 'name' is used as label in the Legend
value : '{Ni}' // 'value' defines the binding for the displayed value
},
],
data : {
path : "/Rowsets/Rowset/0/Row"
}
});
Regards,
Adhikesh