cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

i5Chart - Controlling Number Of X-Axis Major Ticks

Former Member
0 Likes
415

Is there a way to control the number of major ticks on the X-Axis with an i5Chart?  There is with the iChart applet but it appears to be missing for the i5Chart.  Does anyone know of a way to do this?

Thank you,

Mike

Accepted Solutions (1)

Accepted Solutions (1)

RiaNinan
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Mike,


This is a limitation in i5Chart - the number of axis ticks are not customizable.


SAP UI5 viz chart, has a property called fixedTicks which can be set on sap.viz.ui5.types.Axis_scale, to configure the axis ticks and needs to be passed as an array of objects.


By this, you can control the axis tick values directly. However, the tick values need to be generated/computed/deduced and no algorithm gets applied (like in iChart) since you would have to specifically pass the values that get shown as axis ticks.


Hope this help!

Best Regards,

Ria

Former Member
0 Likes

It looks like the UI5 viz chart is deprecated.

If anyone has any suggestions for an alternative JavaScript charting library for this please let us know.

Thank you,

Mike

former_member185280
Active Contributor
0 Likes

Looks like SAP recommends using the vizFrame control. Seems like they just consolidated all the charting into one control. I guess the MII team will have to eventually migrate the i5Chart?

https://sapui5.netweaver.ondemand.com/explored.html#/entity/sap.viz.ui5.controls.VizFrame/samples

https://sapui5.netweaver.ondemand.com/docs/vizdocs/index.html

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.viz.ui5.controls.VizFrame

Regards,
Christian

Former Member
0 Likes

Hi Christian,

Yes, we have started looking into the VizFrame.

Thank you,

Mike

former_member185280
Active Contributor
0 Likes

Mike,


If you are interested in a something 3rd party I would recommend http://www.highcharts.com/.

Seems like they have been able to stick around for a while so aren't likely to fold up shop.

Regards,
Christian

Answers (0)