Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8852

How to control SAPUI5 chart axis label?

$
0
0

Hi all,

 

I created a simple line chart using SAPUI5 viz. The xAxis is the time and the yAxis is the revenue. The following is my xAxis, from 07:00 to 22:00, one point every ten minutes, i.e., 07:00, 07:10, 07:20, ... 21:50, 22:00.

 

Capture.PNG

 

Here are my questions:

1. I just want to show o'clock label on the xAxis like 07:00, 08:00, ... 22:00. Is it possible?

2. I want the xAxis label to display horizontally instead of vertically. Can I control this?

 

I learned the axis API and tried a lot. I failed to realize this. Can anyone help?

 

Thanks,

Wenjun


Viewing all articles
Browse latest Browse all 8852

Trending Articles