cancel
Showing results for 
Search instead for 
Did you mean: 

How to extend a chart control vizframe type dual_stacked_combination

former_member187007
Active Participant
0 Kudos

Hello friends,

Please could somebody help with something that I'm dealing right now, I'm trying to use a vizframe control with viztype="dual_stacked_combination" with two y axis one for quantity (left side) and another axis is for percentaje (right side), everything goes well (this is the chart that I need) but I need that the stacked column appears not stacked, I mean one besides the another, please I hope somebody could help me with this.

Thank you very much in advanced.

Regards.

Jhon Jairo.

Accepted Solutions (1)

Accepted Solutions (1)

former_member196805
Contributor
0 Kudos

Hello Jhon,

Fact is vizFrame has started to support dual_combination chart type starting from SAPUI5 1.40. I am unable to demo this on any public javascript snippix as 1.38.x of SAPUI5 is the consumable latest version on sapui5.hana.ondemand.com. Please try open JS Bin - Collaborative JavaScript Debugging once 1.40 is publicly released and available. It should looks like below screenshot.

BR,

Chapman

former_member187007
Active Participant
0 Kudos

Hello Chapman, thanks for your quick reply.

Actually the version I am working on is 1.28 in my on premise server, so I can't use 1.40 version. I tried to use library sap.viz.ui5.DualCombination, this worked well in desktop and I could combine bars not stacked and lines (I was based on this code dual chart / data merge - JSFiddle) , but this is an obsolete library and on phones doesn't work properly, so I discarded this option.

Do you know any other option that I could try to achieve what I need?

Thanks in advanced.

Jhon Jairo.

former_member196805
Contributor
0 Kudos

Unfortunately no, Jhon Jairo. sap.viz.ui5.***charttype** is, as you said, obsolete library. Info/dual_combination is the only chart type in vizFrame which have a ability to plot data points into non-stacked columns and lines but only available starting from 1.40.

saivellanki
Active Contributor
0 Kudos

Hi Chapman,

Thanks for sharing the information.

Any reason why dual_combination vizType was not introduced on earlier versions along with other vizTypes?

Regards,

Sai.

former_member187007
Active Participant
0 Kudos

Thanks Chapman, should I consider to make an extension to the original control?, I've never done this but if you know some hints, I would appreciate your help with some examples in how I could do an enhancement of this kind.

KInd regards.

Jhon Jairo.

former_member196805
Contributor
0 Kudos

Sorry, Sai, I wish I know the reason.

former_member196805
Contributor
0 Kudos

Sorry Jhon Jairo, I am not familiar with extension. What I heard is adopting extension has no difference than develop your own chart starts from zero. It is way more than just write some short script/function based on existing chart type/framework.

Answers (0)